|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.kerberos.shared.messages.value.EncryptionKey
public class EncryptionKey
A Kerberos symmetric encryption key, which includes metadata support for the associated key type and key version number.
| Constructor Summary | |
|---|---|
EncryptionKey(EncryptionType keyType,
byte[] keyValue)
Creates a new instance of EncryptionKey. |
|
EncryptionKey(EncryptionType keyType,
byte[] keyValue,
int keyVersion)
Creates a new instance of EncryptionKey. |
|
| Method Summary | |
|---|---|
void |
destroy()
Destroys this key by overwriting the symmetric key material with zeros. |
boolean |
equals(java.lang.Object o)
|
EncryptionType |
getKeyType()
Returns the key type. |
byte[] |
getKeyValue()
Returns the key value. |
int |
getKeyVersion()
Returns the key version. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EncryptionKey(EncryptionType keyType,
byte[] keyValue)
keyType - keyValue -
public EncryptionKey(EncryptionType keyType,
byte[] keyValue,
int keyVersion)
keyType - keyValue - keyVersion - | Method Detail |
|---|
public void destroy()
public EncryptionType getKeyType()
public byte[] getKeyValue()
public int getKeyVersion()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||