ariba.ui.aribaweb.util
Class AWEncryptionProvider
java.lang.Object
ariba.ui.aribaweb.util.AWEncryptionProvider
public abstract class AWEncryptionProvider
- extends Object
Provides encryption services to the AW package.
THe implementation is provided by the AWApplication
AWEncryptionProvider
public AWEncryptionProvider()
getProvider
public static AWEncryptionProvider getProvider()
setProvider
public static void setProvider(AWEncryptionProvider p)
getCleartextInputStream
public abstract InputStream getCleartextInputStream(InputStream cipherStream)
throws 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:
IOException
getCipherOutputStream
public abstract OutputStream getCipherOutputStream(OutputStream cipherStream)
throws 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:
IOException
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.