org.apache.directory.server.kerberos.shared.crypto.encryption
Class EncryptionEngine
java.lang.Object
org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionEngine
- Direct Known Subclasses:
- Des3CbcEncryption, DesCbcEncryption, NullEncryption
public abstract class EncryptionEngine
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptionEngine
public EncryptionEngine()
getChecksumEngine
public abstract ChecksumEngine getChecksumEngine()
getCipher
public abstract javax.crypto.Cipher getCipher()
throws java.security.GeneralSecurityException
- Throws:
java.security.GeneralSecurityException
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)
throws KerberosException
- Throws:
KerberosException
getEncryptedData
public EncryptedData getEncryptedData(EncryptionKey key,
byte[] plainText)
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.