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, isAvailable
ContentEncryptionKeyDescriptor getContentEncryptionKeyDescriptor()
ContentEncryptionParts encrypt(byte[] plaintext, byte[] aad, byte[] contentEncryptionKey, Headers headers, byte[] ivOverride) throws JoseException
JoseException
byte[] decrypt(ContentEncryptionParts contentEncryptionParts, byte[] aad, byte[] contentEncryptionKey, Headers headers) throws JoseException
JoseException
Copyright © 2015. All rights reserved.