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

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionEngine
      extended by org.apache.directory.server.kerberos.shared.crypto.encryption.NullEncryption

public class NullEncryption
extends EncryptionEngine


Constructor Summary
NullEncryption()
           
 
Method Summary
 int blockSize()
           
 byte[] calculateChecksum(byte[] plainText)
           
 int checksumSize()
           
 ChecksumType checksumType()
           
 int confounderSize()
           
 EncryptionType encryptionType()
           
 ChecksumEngine getChecksumEngine()
           
 javax.crypto.Cipher getCipher()
           
 int keySize()
           
 CipherType keyType()
           
 int minimumPadSize()
           
protected  byte[] processCipher(boolean encrypt, byte[] data, byte[] key, byte[] ivec)
           
 
Methods inherited from class org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionEngine
getDecryptedData, getEncryptedData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullEncryption

public NullEncryption()
Method Detail

getCipher

public javax.crypto.Cipher getCipher()
Specified by:
getCipher in class EncryptionEngine

getChecksumEngine

public ChecksumEngine getChecksumEngine()
Specified by:
getChecksumEngine in class EncryptionEngine

encryptionType

public EncryptionType encryptionType()
Specified by:
encryptionType in class EncryptionEngine

keyType

public CipherType keyType()
Specified by:
keyType in class EncryptionEngine

checksumType

public ChecksumType checksumType()
Specified by:
checksumType in class EncryptionEngine

blockSize

public int blockSize()
Specified by:
blockSize in class EncryptionEngine

keySize

public int keySize()
Specified by:
keySize in class EncryptionEngine

checksumSize

public int checksumSize()
Specified by:
checksumSize in class EncryptionEngine

confounderSize

public int confounderSize()
Specified by:
confounderSize in class EncryptionEngine

minimumPadSize

public int minimumPadSize()
Specified by:
minimumPadSize in class EncryptionEngine

processCipher

protected byte[] processCipher(boolean encrypt,
                               byte[] data,
                               byte[] key,
                               byte[] ivec)

calculateChecksum

public byte[] calculateChecksum(byte[] plainText)


Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.