public class AESCBCCMac192KeyGenerator extends VarLengthKeyGenerator
AESCBCCMac192
authenticated
encryption cipher as defined by the BSI Technical Guideline TR-03109-1.
An AES-CBC-CMAC key represents the concatenation of cipher (encryption) key and MAC key (see TR-03109-1): Key = Keyenc||KeyMAC. Thus keys generated by this key generator are 384 bits long: the first 192 bits represent the cipher (encryption) key, the second 192 bits represent the MAC key:
KeyGenerator keyGen = KeyGenerator.getInstance("AESCBCCMac192"); SecretKey key = keyGen.generateKey();
KeyGenerator
,
SecretKey
Constructor and Description |
---|
AESCBCCMac192KeyGenerator()
Creates a new AESCBCCMac192 key generator.
|
engineGenerateKey, engineInit, engineInit, engineInit