Package | Description |
---|---|
info.pppc.base.plugin.security | |
info.pppc.base.plugin.security.io |
Constructor and Description |
---|
SecureModifier.StreamConnector(IStreamConnector connector,
AESSymmetricKey encryption,
HMACSymmetricKey signature,
byte[] initializationVector)
Creates a new stream connector that uses the specified connector
to create input and output streams.
|
Constructor and Description |
---|
SecureInputStream(java.io.InputStream in,
AESSymmetricKey key,
HMACSymmetricKey signKey,
byte[] iv)
Creates a new AESInputStream with the given keys.
|
SecureOutputStream(java.io.OutputStream out,
AESSymmetricKey key,
HMACSymmetricKey signKey,
byte[] iv)
Creates a new AESOutputStream that encrypts the given OutputStream with the given key and additionally signs it with the signature key.
|