public class HybridEncryptionOutput extends Object
| Constructor and Description |
|---|
HybridEncryptionOutput(byte[] cipherData,
byte[] encryptedSymmetricKey)
Constructor of Hybrid encryption output data holder.
|
HybridEncryptionOutput(byte[] cipherData,
byte[] encryptedSymmetricKey,
AlgorithmParameterSpec parameterSpec)
Constructor of Hybrid encryption output data holder.
|
HybridEncryptionOutput(byte[] cipherData,
byte[] encryptedSymmetricKey,
byte[] authData,
byte[] authTag,
AlgorithmParameterSpec parameterSpec)
Constructor of Hybrid encryption output data holder.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAuthData() |
byte[] |
getAuthTag() |
byte[] |
getCipherData() |
byte[] |
getEncryptedSymmetricKey() |
AlgorithmParameterSpec |
getParameterSpec() |
public HybridEncryptionOutput(byte[] cipherData,
byte[] encryptedSymmetricKey)
cipherData - : Byte array of encrypted data.encryptedSymmetricKey - : Byte array of encrypted symmetric key.public HybridEncryptionOutput(byte[] cipherData,
byte[] encryptedSymmetricKey,
AlgorithmParameterSpec parameterSpec)
cipherData - : Byte array of encrypted data.encryptedSymmetricKey - : Byte array of encrypted symmetric key.parameterSpec - : Parameter specification used for symmetric encryption.public HybridEncryptionOutput(byte[] cipherData,
byte[] encryptedSymmetricKey,
byte[] authData,
byte[] authTag,
AlgorithmParameterSpec parameterSpec)
cipherData - : Byte array of encrypted data.encryptedSymmetricKey - : Byte array of encrypted symmetric key.parameterSpec - : Parameter specification used for symmetric encryption.authData - : Byte array of authentication data used for symmetric encryption.authTag - : Byte array of authentication tag produced by the symmetric encryption.public byte[] getEncryptedSymmetricKey()
public byte[] getCipherData()
public AlgorithmParameterSpec getParameterSpec()
public byte[] getAuthData()
public byte[] getAuthTag()
Copyright © 2019 WSO2. All rights reserved.