ariba.ui.aribaweb.util
Class AWEncryptionProvider

java.lang.Object
  extended by ariba.ui.aribaweb.util.AWEncryptionProvider

public abstract class AWEncryptionProvider
extends java.lang.Object

Provides encryption services to the AW package. THe implementation is provided by the AWApplication


Constructor Summary
AWEncryptionProvider()
           
 
Method Summary
abstract  java.io.OutputStream getCipherOutputStream(java.io.OutputStream cipherStream)
          Output stream wrapper that encrypts data before it is passed on to the wrapped cipherStream
abstract  java.io.InputStream getCleartextInputStream(java.io.InputStream cipherStream)
          input stream wrapper that returns cleartext given a previously encrypted input stream.
static AWEncryptionProvider getProvider()
           
static void setProvider(AWEncryptionProvider p)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWEncryptionProvider

public AWEncryptionProvider()
Method Detail

getProvider

public static AWEncryptionProvider getProvider()

setProvider

public static void setProvider(AWEncryptionProvider p)

getCleartextInputStream

public abstract java.io.InputStream getCleartextInputStream(java.io.InputStream cipherStream)
                                                     throws java.io.IOException
input stream wrapper that returns cleartext given a previously encrypted input stream.

Parameters:
cipherStream - input stream returning encrypted bytes
Returns:
input stream returning cleartext
Throws:
java.io.IOException

getCipherOutputStream

public abstract java.io.OutputStream getCipherOutputStream(java.io.OutputStream cipherStream)
                                                    throws java.io.IOException
Output stream wrapper that encrypts data before it is passed on to the wrapped cipherStream

Parameters:
cipherStream - output stream which received encrypted data
Returns:
output stream which will convert cleartext data into encrypted data
Throws:
java.io.IOException


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.