/********************************************************************************* * TotalCross Software Development Kit * * Copyright (C) 2000-2012 SuperWaba Ltda. * * All Rights Reserved * * * * This library and virtual machine is distributed in the hope that it will * * be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * * *********************************************************************************/ package totalcross.crypto.cipher; /** * This class implements the AES cryptographic cipher key. */ public class AESKey extends Key { private byte[] data; /** * Creates a new AESKey object with the given data. * * @param data A byte array containing the key data. */ public AESKey(byte[] data) { this.data = data; } /** * Gets the key data. * * @return A copy of the byte array containing the key data. */ public byte[] getData() { return data; } }