public interface AuthCipherEngine extends CipherEngine, MacAADEngine
EncryptedContentInfoOutputStream
for authenticated content encryption with CMS content-type AuthEnvelopedData.
setAdditionalAuthData, and method getMac returns the calculated message authentication code.
An application that implements its own AuthCipherEngine has to override the following
SecurityProvider methods to plug-in its own implementation:
SecurityProviderCIPHER_DECRYPT, CIPHER_ENCRYPT, CIPHER_NONE, CIPHER_UNWRAP, CIPHER_WRAP| Modifier and Type | Method and Description |
|---|---|
javax.crypto.Cipher |
getCipher()
Gets the Cipher engine used for encrypting the data.
|
getParameters, initCipher, initCipher, setSecurityProvidergetAdditionalAuthData, setAdditionalAuthData, setMac