org.apache.directory.server.kerberos.shared.messages.value
Class EncryptedData

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.messages.value.EncryptedData

public class EncryptedData
extends java.lang.Object

Version:
$Rev: 540371 $, $Date: 2007-05-21 20:00:43 -0400 (Mon, 21 May 2007) $
Author:
Apache Directory Project

Constructor Summary
EncryptedData(EncryptionType type, int version, byte[] cipherText)
          Creates a new instance of EncryptedData.
 
Method Summary
 byte[] getCipherText()
          Returns the raw cipher text.
 EncryptionType getEncryptionType()
          Returns the EncryptionType.
 int getKeyVersion()
          Returns the key version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptedData

public EncryptedData(EncryptionType type,
                     int version,
                     byte[] cipherText)
Creates a new instance of EncryptedData.

Parameters:
type -
version -
cipherText -
Method Detail

getEncryptionType

public EncryptionType getEncryptionType()
Returns the EncryptionType.

Returns:
The EncryptionType.

getKeyVersion

public int getKeyVersion()
Returns the key version.

Returns:
The key version.

getCipherText

public byte[] getCipherText()
Returns the raw cipher text.

Returns:
The raw cipher text.


Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.