|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AuthCipherEngine
Generic authentication Cipher engine for authenticated data encryption.
Used by class EncryptedContentInfoOutputStream
for authenticated content encryption with CMS content-type AuthEnvelopedData.
Additional data (which shall be authenticated only but not encrypted) may be set by calling
method 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:
getAuthCipherEngine(AlgorithmID algorithm,
int mode,
Key key,
AlgorithmParameters params,
byte[] aad)
getAuthCipherEngine(AlgorithmID algorithm,
int mode,
Key key,
AlgorithmParameterSpec params,
byte[] aad)
SecurityProvider| Field Summary |
|---|
| Fields inherited from interface iaik.cms.CipherEngine |
|---|
CIPHER_DECRYPT, CIPHER_ENCRYPT, CIPHER_NONE, CIPHER_UNWRAP, CIPHER_WRAP |
| Method Summary | |
|---|---|
javax.crypto.Cipher |
getCipher()
Gets the Cipher engine used for encrypting the data. |
| Methods inherited from interface iaik.cms.CipherEngine |
|---|
getParameters, initCipher, initCipher, setSecurityProvider |
| Methods inherited from interface iaik.cms.MacAADEngine |
|---|
getAdditionalAuthData, setAdditionalAuthData, setMac |
| Methods inherited from interface iaik.cms.MacEngine |
|---|
getMac |
| Method Detail |
|---|
javax.crypto.Cipher getCipher()
|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
|
v6.1 (c) 2002 IAIK, (c) 2003 - 2025 SIC |
|