public interface ContentEncryptionAlgorithm extends Algorithm
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(ContentEncryptionParts contentEncryptionParts,
byte[] aad,
byte[] contentEncryptionKey,
Headers headers) |
ContentEncryptionParts |
encrypt(byte[] plaintext,
byte[] aad,
byte[] contentEncryptionKey,
Headers headers,
byte[] ivOverride) |
ContentEncryptionKeyDescriptor |
getContentEncryptionKeyDescriptor() |
getAlgorithmIdentifier, getJavaAlgorithm, getKeyPersuasion, getKeyType, isAvailableContentEncryptionKeyDescriptor getContentEncryptionKeyDescriptor()
ContentEncryptionParts encrypt(byte[] plaintext, byte[] aad, byte[] contentEncryptionKey, Headers headers, byte[] ivOverride) throws JoseException
JoseExceptionbyte[] decrypt(ContentEncryptionParts contentEncryptionParts, byte[] aad, byte[] contentEncryptionKey, Headers headers) throws JoseException
JoseExceptionCopyright © 2015. All rights reserved.