public class AESCBCCMac128KeyGenerator extends VarLengthKeyGenerator
AESCBCCMac128authenticated 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 256 bits long: the first 128 bits represent the cipher (encryption) key, the second 128 bits represent the MAC key:
KeyGenerator keyGen = KeyGenerator.getInstance("AESCBCCMac128"); SecretKey key = keyGen.generateKey();
|Constructor and Description|
Creates a new AESCBCCMac128 key generator.