sun.security.mule.krb5.internal.crypto.dk
Class Des3DkCrypto
java.lang.Object
sun.security.mule.krb5.internal.crypto.dk.DkCrypto
sun.security.mule.krb5.internal.crypto.dk.Des3DkCrypto
public class Des3DkCrypto
- extends DkCrypto
| Fields inherited from class sun.security.mule.krb5.internal.crypto.dk.DkCrypto |
debug |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Des3DkCrypto
public Des3DkCrypto()
getKeySeedLength
protected int getKeySeedLength()
- Specified by:
getKeySeedLength in class DkCrypto
stringToKey
public byte[] stringToKey(char[] salt)
throws GeneralSecurityException
- Throws:
GeneralSecurityException
parityFix
public byte[] parityFix(byte[] value)
throws GeneralSecurityException
- Throws:
GeneralSecurityException
randomToKey
protected byte[] randomToKey(byte[] in)
- Specified by:
randomToKey in class DkCrypto
getCipher
protected Cipher getCipher(byte[] key,
byte[] ivec,
int mode)
throws GeneralSecurityException
- Specified by:
getCipher in class DkCrypto
- Throws:
GeneralSecurityException
getChecksumLength
public int getChecksumLength()
- Specified by:
getChecksumLength in class DkCrypto
getHmac
protected byte[] getHmac(byte[] key,
byte[] msg)
throws GeneralSecurityException
- Specified by:
getHmac in class DkCrypto
- Throws:
GeneralSecurityException
Copyright © 2013. All Rights Reserved.