| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| protected abstract byte[] | |
| private byte[] | |
| private void | |
| public byte[] | decrypt(byte[]
the input buffer. cipher, byte[] the key to decrypt the data. key, int usage)Implements abstract sun. Decrypts the data using DES in CBC mode. |
| public byte[] | decrypt(byte[]
the input buffer. cipher, byte[] the key to decrypt the data. key, byte[] initialization vector. ivec, int usage)Implements abstract sun. Decrypts the data using DES in CBC mode. |
| public byte[] | Returns: the buffer for encrypted data.the buffer for plain text. data, byte[] the key to encrypt the data. key, int usage)Implements abstract sun. Encrypts the data using DES in CBC mode. |
| public byte[] | Returns: buffer for encrypted data.the buffer for plain text. data, byte[] the key to encrypt the data. key, byte[] initialization vector. ivec, int usage)Implements abstract sun. Encrypts the data using DES in CBC mode. |
| private byte[] | |
| private boolean | |
| protected boolean | |
| public int | |
| public int | |
| private void |
| DesCbcEType | back to summary |
|---|---|
| pack-priv DesCbcEType() | |
| blockSize | back to summary |
|---|---|
| public int blockSize() Implements abstract sun. | |
| calculateChecksum | back to summary |
|---|---|
| protected abstract byte[] calculateChecksum(byte[] data, int size) throws KrbCryptoException | |
| checksumField | back to summary |
|---|---|
| private byte[] checksumField(byte[] data) | |
| copyChecksumField | back to summary |
|---|---|
| private void copyChecksumField(byte[] data, byte[] cksum) | |
| decrypt | back to summary |
|---|---|
| public byte[] decrypt(byte[] cipher, byte[] key, int usage) throws KrbApErrException, KrbCryptoException Implements abstract sun. Decrypts the data using DES in CBC mode.
| |
| decrypt | back to summary |
|---|---|
| public byte[] decrypt(byte[] cipher, byte[] key, byte[] ivec, int usage) throws KrbApErrException, KrbCryptoException Implements abstract sun. Decrypts the data using DES in CBC mode.
| |
| encrypt | back to summary |
|---|---|
| public byte[] encrypt(byte[] data, byte[] key, int usage) throws KrbCryptoException Implements abstract sun. Encrypts the data using DES in CBC mode.
| |
| encrypt | back to summary |
|---|---|
| public byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) throws KrbCryptoException Implements abstract sun. Encrypts the data using DES in CBC mode.
| |
| generateChecksum | back to summary |
|---|---|
| private byte[] generateChecksum(byte[] data) throws KrbCryptoException | |
| isChecksumEqual | back to summary |
|---|---|
| private boolean isChecksumEqual(byte[] cksum1, byte[] cksum2) | |
| isChecksumValid | back to summary |
|---|---|
| protected boolean isChecksumValid(byte[] data) throws KrbCryptoException | |
| keySize | back to summary |
|---|---|
| public int keySize() Implements abstract sun. | |
| keyType | back to summary |
|---|---|
| public int keyType() Implements abstract sun. | |
| resetChecksumField | back to summary |
|---|---|
| private void resetChecksumField(byte[] data) | |