A KRB_CRED message is defined in Section 5.8.1 of the Kerberos Protocol Specification (RFC 4120) as:
KRB-CRED ::= [APPLICATION 22] SEQUENCE {
pvno [0] INTEGER (5),
msg-type [1] INTEGER (22),
tickets [2] SEQUENCE OF Ticket,
enc-part [3] EncryptedData -- EncKrbCredPart
}
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final byte[] | |
| private final KerberosPrincipal | |
| private final KerberosPrincipal |
| Access | Constructor and Description |
|---|---|
| public | KerberosCredMessage(KerberosPrincipal
the sender of the message sender, KerberosPrincipal the recipient of the message recipient, byte[] the DER encoded KRB_CRED message message)Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public void | destroy()
Overrides default javax. Destroys this object by clearing out the message. |
| public boolean | Returns: true if the specified object is equal to thisKerberosCredMessage, false otherwise.the object to compare to other)Overrides java. Compares the specified object with this |
| public byte[] | Returns: a newly allocated byte array that contains the encoded formReturns the DER encoded form of the KRB_CRED message. |
| public KerberosPrincipal | |
| public KerberosPrincipal | |
| public int | Returns: a hash code for thisKerberosCredMessageOverrides java. Returns a hash code for this |
| public boolean | isDestroyed()
Overrides default javax. Determine if this |
| public String | Returns: an informative textual representation of thisKerberosCredMessage.Overrides java. Returns an informative textual representation of this |
| destroyed | back to summary |
|---|---|
| private boolean destroyed | |
| message | back to summary |
|---|---|
| private final byte[] message | |
| recipient | back to summary |
|---|---|
| private final KerberosPrincipal recipient | |
| sender | back to summary |
|---|---|
| private final KerberosPrincipal sender | |
| KerberosCredMessage | back to summary |
|---|---|
| public KerberosCredMessage(KerberosPrincipal sender, KerberosPrincipal recipient, byte[] message) Constructs a
The contents of the
| |
| destroy | back to summary |
|---|---|
| public void destroy() Overrides default javax. Destroys this object by clearing out the message.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Compares the specified object with this | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Returns the DER encoded form of the KRB_CRED message.
| |
| getRecipient | back to summary |
|---|---|
| public KerberosPrincipal getRecipient() Returns the recipient of this message.
| |
| getSender | back to summary |
|---|---|
| public KerberosPrincipal getSender() Returns the sender of this message.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code for this
| |
| isDestroyed | back to summary |
|---|---|
| public boolean isDestroyed() Overrides default javax. Doc from javax. Determine if this
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns an informative textual representation of this | |