| Modifier and Type | Field and Description |
|---|---|
| pack-priv byte[] | |
| pack-priv int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| pack-priv Integer | |
| pack-priv byte[] |
| Access | Constructor and Description |
|---|---|
| private | |
| public | |
| public | |
| private | EncryptedData(DerValue
a single DER-encoded value. encoding)Constructs an instance of EncryptedData type. |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: byte array of encoded EncryptedData object.Returns an ASN.1 encoded EncryptedData type. |
| public Object | |
| public byte[] | |
| private byte[] | |
| public byte[] | |
| public int | |
| public Integer | |
| public static EncryptedData | Returns: an instance of EncryptedData.the Der input stream value, which contains one or more
marshaled value. data, byte tag number. explicitTag, boolean indicate if this data field is optional optional)Parse (unmarshal) an EncryptedData from a DER input stream. |
| public byte[] | Returns: the reset byte array which holds exactly one asn1 datum including its tag and length.the decrypted data from decrypt(). data)Reset asn.1 data stream after decryption, remove redundant bytes. |
| cipher | back to summary |
|---|---|
| pack-priv byte[] cipher | |
| eType | back to summary |
|---|---|
| pack-priv int eType | |
| ETYPE_AES128_CTS_HMAC_SHA1_96 | back to summary |
|---|---|
| public static final int ETYPE_AES128_CTS_HMAC_SHA1_96 | |
| ETYPE_AES128_CTS_HMAC_SHA256_128 | back to summary |
|---|---|
| public static final int ETYPE_AES128_CTS_HMAC_SHA256_128 | |
| ETYPE_AES256_CTS_HMAC_SHA1_96 | back to summary |
|---|---|
| public static final int ETYPE_AES256_CTS_HMAC_SHA1_96 | |
| ETYPE_AES256_CTS_HMAC_SHA384_192 | back to summary |
|---|---|
| public static final int ETYPE_AES256_CTS_HMAC_SHA384_192 | |
| ETYPE_ARCFOUR_HMAC | back to summary |
|---|---|
| public static final int ETYPE_ARCFOUR_HMAC | |
| ETYPE_ARCFOUR_HMAC_EXP | back to summary |
|---|---|
| public static final int ETYPE_ARCFOUR_HMAC_EXP | |
| ETYPE_DES3_CBC_HMAC_SHA1_KD | back to summary |
|---|---|
| public static final int ETYPE_DES3_CBC_HMAC_SHA1_KD | |
| ETYPE_DES_CBC_CRC | back to summary |
|---|---|
| public static final int ETYPE_DES_CBC_CRC | |
| ETYPE_DES_CBC_MD4 | back to summary |
|---|---|
| public static final int ETYPE_DES_CBC_MD4 | |
| ETYPE_DES_CBC_MD5 | back to summary |
|---|---|
| public static final int ETYPE_DES_CBC_MD5 | |
| ETYPE_NULL | back to summary |
|---|---|
| public static final int ETYPE_NULL | |
| kvno | back to summary |
|---|---|
| pack-priv Integer kvno | |
| plain | back to summary |
|---|---|
| pack-priv byte[] plain | |
| EncryptedData | back to summary |
|---|---|
| private EncryptedData() | |
| EncryptedData | back to summary |
|---|---|
| public EncryptedData(int new_eType, Integer new_kvno, byte[] new_cipher) | |
| EncryptedData | back to summary |
|---|---|
| public EncryptedData(EncryptionKey key, byte[] plaintext, int usage) throws KdcErrException, KrbCryptoException | |
| EncryptedData | back to summary |
|---|---|
| private EncryptedData(DerValue encoding) throws Asn1Exception, IOException Constructs an instance of EncryptedData type.
| |
| asn1Encode | back to summary |
|---|---|
| public byte[] asn1Encode() throws Asn1Exception, IOException Returns an ASN.1 encoded EncryptedData type.
This definition reflects the Network Working Group RFC 4120 specification available at http://www.ietf.org/rfc/rfc4120.txt.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by | |
| decrypt | back to summary |
|---|---|
| public byte[] decrypt(EncryptionKey key, int usage) throws KdcErrException, KrbApErrException, KrbCryptoException | |
| decryptedData | back to summary |
|---|---|
| private byte[] decryptedData() throws KdcErrException | |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() Returns the raw cipher text bytes, not in ASN.1 encoding. | |
| getEType | back to summary |
|---|---|
| public int getEType() | |
| getKeyVersionNumber | back to summary |
|---|---|
| public Integer getKeyVersionNumber() | |
| parse | back to summary |
|---|---|
| public static EncryptedData parse(DerInputStream data, byte explicitTag, boolean optional) throws Asn1Exception, IOException Parse (unmarshal) an EncryptedData from a DER input stream. This form parsing might be used when expanding a value which is part of a constructed sequence and uses explicitly tagged type.
| |
| reset | back to summary |
|---|---|
| public byte[] reset(byte[] data) Reset asn.1 data stream after decryption, remove redundant bytes.
| |