com.dstc.security.kerberos
Interface EncryptionKey

All Known Subinterfaces:
KeyTabEntry
All Known Implementing Classes:
KerberosKey

public interface EncryptionKey

An interface to a Kerberos encryption key, which includes a key type, and a key value. Several key types have been standardized or are being standardized at the IETF. Supported key types in this release are listed in Kerberos.

EncryptionKey is defined in RFC 1510 by the ASN.1 structure

   EncryptionKey ::= SEQUENCE {
                     keytype[0]  INTEGER,
                     keyvalue[1] OCTET STRING
   }
 

See Also:
Kerberos

Method Summary
 int keyType()
          Returns the key type for this key
 byte[] keyValue()
          Returns the key value for this key
 

Method Detail

keyType

public int keyType()
Returns the key type for this key

keyValue

public byte[] keyValue()
Returns the key value for this key