| java.lang.Object | |
| ↳ | sun.security.mule.krb5.EncryptedData |
This class encapsulates Kerberos encrypted data. It allows callers access to both the ASN.1 encoded form of the EncryptedData type as well as the raw cipher text.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | ETYPE_AES128_CTS_HMAC_SHA1_96 | ||||||||||
| int | ETYPE_AES256_CTS_HMAC_SHA1_96 | ||||||||||
| int | ETYPE_ARCFOUR_HMAC | ||||||||||
| int | ETYPE_ARCFOUR_HMAC_EXP | ||||||||||
| int | ETYPE_DES3_CBC_HMAC_SHA1_KD | ||||||||||
| int | ETYPE_DES_CBC_CRC | ||||||||||
| int | ETYPE_DES_CBC_MD4 | ||||||||||
| int | ETYPE_DES_CBC_MD5 | ||||||||||
| int | ETYPE_NULL | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| cipher | |||||||||||
| eType | |||||||||||
| kvno | |||||||||||
| plain | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns an ASN.1 encoded EncryptedData type.
| |||||||||||
Returns the raw cipher text bytes, not in ASN.1 encoding.
| |||||||||||
Parse (unmarshal) an EncryptedData from a DER input stream.
| |||||||||||
Reset data stream after decryption, remove redundant bytes.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
| new_eType | |
|---|---|
| new_kvno | |
| new_cipher |
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.
| Asn1Exception | if an error occurs while decoding an ASN1 encoded data. |
|---|---|
| IOException | if an I/O error occurs while reading encoded data. |
Returns the raw cipher text bytes, not in ASN.1 encoding.
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.
| data | The Der input stream value, which contains one or more marshaled value. |
|---|---|
| explicitTag | Tag number. |
| optional | Indicate if this data field is optional |
| Asn1Exception | if an error occurs while decoding an ASN1 encoded data. |
|---|---|
| IOException | if an I/O error occurs while reading encoded data. |
Reset data stream after decryption, remove redundant bytes.
| data | The decrypted data from decrypt(). |
|---|---|
| encoded | True if the encrypted data is ASN1 encoded data, false if the encrypted data is not ASN1 encoded data. |