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