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