|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsun.security.mule.krb5.internal.crypto.EType
sun.security.mule.krb5.internal.crypto.DesCbcMd5EType
public final class DesCbcMd5EType
| Constructor Summary | |
|---|---|
DesCbcMd5EType()
|
|
| Method Summary | |
|---|---|
int |
blockSize()
|
protected byte[] |
calculateChecksum(byte[] data,
int size)
Calculates checksum using MD5. |
int |
checksumSize()
|
int |
checksumType()
|
int |
confounderSize()
|
byte[] |
decrypt(byte[] cipher,
byte[] key,
byte[] ivec,
int usage)
Decrypts the data using DES in CBC mode. |
byte[] |
decrypt(byte[] cipher,
byte[] key,
int usage)
Decrypts the data using DES in CBC mode. |
byte[] |
encrypt(byte[] data,
byte[] key,
byte[] ivec,
int usage)
Encrypts the data using DES in CBC mode. |
byte[] |
encrypt(byte[] data,
byte[] key,
int usage)
Encrypts the data using DES in CBC mode. |
int |
eType()
|
protected boolean |
isChecksumValid(byte[] data)
|
int |
keySize()
|
int |
keyType()
|
int |
minimumPadSize()
|
| Methods inherited from class sun.security.mule.krb5.internal.crypto.EType |
|---|
dataSize, decryptedData, getBuiltInDefaults, getDefaults, getDefaults, getInstance, isSupported, isSupported, padSize, startOfChecksum, startOfData, startOfPad, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DesCbcMd5EType()
| Method Detail |
|---|
public int eType()
eType in class ETypepublic int minimumPadSize()
minimumPadSize in class ETypepublic int confounderSize()
confounderSize in class ETypepublic int checksumType()
checksumType in class ETypepublic int checksumSize()
checksumSize in class EType
protected byte[] calculateChecksum(byte[] data,
int size)
throws KrbCryptoException
data - the input data.size - the length of data.
KrbCryptoExceptionpublic int blockSize()
blockSize in class ETypepublic int keyType()
keyType in class ETypepublic int keySize()
keySize in class EType
public byte[] encrypt(byte[] data,
byte[] key,
int usage)
throws KrbCryptoException
encrypt in class ETypedata - the buffer for plain text.key - the key to encrypt the data.
KrbCryptoException
public byte[] encrypt(byte[] data,
byte[] key,
byte[] ivec,
int usage)
throws KrbCryptoException
encrypt in class ETypedata - the buffer for plain text.key - the key to encrypt the data.ivec - initialization vector.
KrbCryptoException
public byte[] decrypt(byte[] cipher,
byte[] key,
int usage)
throws KrbApErrException,
KrbCryptoException
decrypt in class ETypecipher - the input buffer.key - the key to decrypt the data.
KrbApErrException
KrbCryptoException
public byte[] decrypt(byte[] cipher,
byte[] key,
byte[] ivec,
int usage)
throws KrbApErrException,
KrbCryptoException
decrypt in class ETypecipher - the input buffer.key - the key to decrypt the data.ivec - initialization vector.
KrbApErrException
KrbCryptoException
protected boolean isChecksumValid(byte[] data)
throws KrbCryptoException
KrbCryptoException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||