Class JcaETSIDataDecryptor
java.lang.Object
org.bouncycastle.its.jcajce.JcaETSIDataDecryptor
- All Implemented Interfaces:
ETSIDataDecryptor
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic JcaETSIDataDecryptor.Builderbuilder(PrivateKey privateKey, byte[] recipientHash) byte[]decrypt(byte[] wrappedKey, byte[] content, byte[] nonce) byte[]getKey()return the unwrapped key found in the data.
-
Method Details
-
decrypt
public byte[] decrypt(byte[] wrappedKey, byte[] content, byte[] nonce) - Specified by:
decryptin interfaceETSIDataDecryptor
-
getKey
public byte[] getKey()Description copied from interface:ETSIDataDecryptorreturn the unwrapped key found in the data. Call after decrypt.- Specified by:
getKeyin interfaceETSIDataDecryptor- Returns:
- the unwrapped key.
-
builder
-