com.dstc.security.kerberos.msg
Interface EncryptedPart

All Known Subinterfaces:
APRep, APReq, KrbASRep, KrbCred, KrbTGSRep, Ticket

public interface EncryptedPart

An interface to be implemented by Kerberos messages or data structures which have an encrypted part.


Method Summary
 void decrypt()
          Decrypts this EncryptedPart
 int encryptionType()
          Returns the encryption type for this EncryptedPart.
 void initDecrypt(EncryptionKey key)
          Initializes the decryption process with an EncryptionKey
 

Method Detail

initDecrypt

public void initDecrypt(EncryptionKey key)
                 throws KerberosException
Initializes the decryption process with an EncryptionKey

decrypt

public void decrypt()
             throws KerberosException
Decrypts this EncryptedPart

encryptionType

public int encryptionType()
Returns the encryption type for this EncryptedPart. (Encryption types are defined in Kerberos)