| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final boolean | |
| private static final int | |
| private final int | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public byte[] | calculateChecksum(byte[] baseKey, int usage, byte[] input, int start, int len)
Overrides sun. Calculate the checksum |
| public byte[] | decrypt(byte[]
key from which keys are to be derived using usage baseKey, int usage, byte[] ivec, byte[] E(Ke, conf | plaintext | padding, ivec) | H1[1..h] ciphertext, int start, int len)Overrides sun.
|
| public byte[] | decryptRaw(byte[]
encryption key to use baseKey, int ignored usage, byte[] ivec, byte[] encrypted data to be decrypted ciphertext, int start, int len, byte[] seqNum)Decrypts data using specified key and initial vector. |
| public byte[] | decryptSeq(byte[] baseKey, int usage, byte[] checksum, byte[] ciphertext, int start, int len)
Performs decryption of Sequence Number using derived key. |
| public byte[] | encrypt(byte[] baseKey, int usage, byte[] ivec, byte[] new_ivec, byte[] plaintext, int start, int len)
Overrides sun. Performs encryption using derived key; adds confounder. |
| public byte[] | encryptRaw(byte[] baseKey, int usage, byte[] seqNum, byte[] plaintext, int start, int len)
Overrides sun. Performs encryption using derived key; does not add confounder. |
| public byte[] | encryptSeq(byte[] baseKey, int usage, byte[] checksum, byte[] plaintext, int start, int len)
Performs encryption of Sequence Number using derived key. |
| public int | getChecksumLength()
Implements abstract sun.
|
| protected Cipher | getCipher(byte[] key, byte[] ivec, int mode)
Implements abstract sun.
|
| protected byte[] | getHmac(byte[] key, byte[] msg)
Implements abstract sun. Get the HMAC-MD5 |
| protected int | getKeySeedLength()
Implements abstract sun.
|
| private byte[] | |
| protected byte[] | randomToKey(byte[] in)
Implements abstract sun.
|
| public byte[] | |
| private byte[] |
| confounderSize | back to summary |
|---|---|
| private static final int confounderSize | |
| debug | back to summary |
|---|---|
| private static final boolean debug | |
| hashSize | back to summary |
|---|---|
| private static final int hashSize | |
| keyLength | back to summary |
|---|---|
| private final int keyLength | |
| ZERO_IV | back to summary |
|---|---|
| private static final byte[] ZERO_IV | |
| ArcFourCrypto | back to summary |
|---|---|
| public ArcFourCrypto(int length) | |
| arcfour_translate_usage | back to summary |
|---|---|
| private int arcfour_translate_usage(int usage) | |
| calculateChecksum | back to summary |
|---|---|
| public byte[] calculateChecksum(byte[] baseKey, int usage, byte[] input, int start, int len) throws GeneralSecurityException Overrides sun. Calculate the checksum | |
| decrypt | back to summary |
|---|---|
| public byte[] decrypt(byte[] baseKey, int usage, byte[] ivec, byte[] ciphertext, int start, int len) throws GeneralSecurityException Overrides sun.
| |
| decryptRaw | back to summary |
|---|---|
| public byte[] decryptRaw(byte[] baseKey, int usage, byte[] ivec, byte[] ciphertext, int start, int len, byte[] seqNum) throws GeneralSecurityException Decrypts data using specified key and initial vector.
| |
| decryptSeq | back to summary |
|---|---|
| public byte[] decryptSeq(byte[] baseKey, int usage, byte[] checksum, byte[] ciphertext, int start, int len) throws GeneralSecurityException, KrbCryptoException Performs decryption of Sequence Number using derived key. | |
| encrypt | back to summary |
|---|---|
| public byte[] encrypt(byte[] baseKey, int usage, byte[] ivec, byte[] new_ivec, byte[] plaintext, int start, int len) throws GeneralSecurityException, KrbCryptoException Overrides sun. Performs encryption using derived key; adds confounder. | |
| encryptRaw | back to summary |
|---|---|
| public byte[] encryptRaw(byte[] baseKey, int usage, byte[] seqNum, byte[] plaintext, int start, int len) throws GeneralSecurityException, KrbCryptoException Overrides sun. Performs encryption using derived key; does not add confounder. | |
| encryptSeq | back to summary |
|---|---|
| public byte[] encryptSeq(byte[] baseKey, int usage, byte[] checksum, byte[] plaintext, int start, int len) throws GeneralSecurityException, KrbCryptoException Performs encryption of Sequence Number using derived key. | |
| getChecksumLength | back to summary |
|---|---|
| public int getChecksumLength() Implements abstract sun. | |
| getCipher | back to summary |
|---|---|
| protected Cipher getCipher(byte[] key, byte[] ivec, int mode) throws GeneralSecurityException Implements abstract sun. | |
| getHmac | back to summary |
|---|---|
| protected byte[] getHmac(byte[] key, byte[] msg) throws GeneralSecurityException Implements abstract sun. Get the HMAC-MD5 | |
| getKeySeedLength | back to summary |
|---|---|
| protected int getKeySeedLength() Implements abstract sun. | |
| getSalt | back to summary |
|---|---|
| private byte[] getSalt(int usage) | |
| randomToKey | back to summary |
|---|---|
| protected byte[] randomToKey(byte[] in) Implements abstract sun. | |
| stringToKey | back to summary |
|---|---|
| public byte[] stringToKey(char[] passwd) throws GeneralSecurityException | |
| stringToKey | back to summary |
|---|---|
| private byte[] stringToKey(char[] secret, byte[] opaque) throws GeneralSecurityException | |