com.ibm.crypto.fips.provider
Class AESSecretKey
java.lang.Object
|
+--com.ibm.crypto.fips.provider.AESSecretKey
- All Implemented Interfaces:
- java.security.Key, javax.crypto.SecretKey, java.io.Serializable
- public final class AESSecretKey
- extends java.lang.Object
- implements javax.crypto.SecretKey
This class represents a AES key.
- Version:
- 1.00, 11/26/01
- Author:
- Paschalis Kaltsatis
- See Also:
- Serialized Form
Fields inherited from interface java.security.Key |
serialVersionUID |
Method Summary |
protected void |
finalize()
This function zeroizes the key so that it isn't in memory when GC is done. |
java.lang.String |
getAlgorithm()
|
byte[] |
getEncoded()
|
java.lang.String |
getFormat()
|
void |
zeroize()
This function zeroizes the key so that it isn't in memory |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interface java.security.Key
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interface java.security.Key
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interface java.security.Key
zeroize
public void zeroize()
- This function zeroizes the key so that it isn't in memory
finalize
protected void finalize()
- This function zeroizes the key so that it isn't in memory when GC is done.
- Overrides:
finalize
in class java.lang.Object