org.apache.directory.server.kerberos.shared.crypto.encryption
Class EncryptionEngine

java.lang.Object
  extended byorg.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionEngine
Direct Known Subclasses:
Des3CbcEncryption, DesCbcEncryption, NullEncryption

public abstract class EncryptionEngine
extends java.lang.Object


Constructor Summary
EncryptionEngine()
           
 
Method Summary
abstract  int blockSize()
           
abstract  int checksumSize()
           
abstract  ChecksumType checksumType()
           
abstract  int confounderSize()
           
abstract  EncryptionType encryptionType()
           
abstract  BlockCipher getBlockCipher()
           
abstract  ChecksumEngine getChecksumEngine()
           
 byte[] getDecryptedData(EncryptionKey key, EncryptedData data)
           
 EncryptedData getEncryptedData(EncryptionKey key, byte[] plainText)
           
abstract  int keySize()
           
abstract  CipherType keyType()
           
abstract  int minimumPadSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionEngine

public EncryptionEngine()
Method Detail

getChecksumEngine

public abstract ChecksumEngine getChecksumEngine()

getBlockCipher

public abstract BlockCipher getBlockCipher()

encryptionType

public abstract EncryptionType encryptionType()

checksumType

public abstract ChecksumType checksumType()

keyType

public abstract CipherType keyType()

confounderSize

public abstract int confounderSize()

checksumSize

public abstract int checksumSize()

blockSize

public abstract int blockSize()

minimumPadSize

public abstract int minimumPadSize()

keySize

public abstract int keySize()

getDecryptedData

public byte[] getDecryptedData(EncryptionKey key,
                               EncryptedData data)

getEncryptedData

public EncryptedData getEncryptedData(EncryptionKey key,
                                      byte[] plainText)