| java.lang.Object |
| ↳ |
sun.security.mule.krb5.internal.Ticket |
Class Overview
Implements the ASN.1 Ticket type.
Ticket ::= [APPLICATION 1] SEQUENCE {
tkt-vno [0] INTEGER (5),
realm [1] Realm,
sname [2] PrincipalName,
enc-part [3] EncryptedData -- EncTicketPart
}
This definition reflects the Network Working Group RFC 4120
specification available at
http://www.ietf.org/rfc/rfc4120.txt.
Summary
| Public Methods |
|
byte[]
|
asn1Encode()
Encodes a Ticket object.
|
|
Object
|
clone()
|
|
static
Ticket
|
parse(DerInputStream data, byte explicitTag, boolean optional)
Parse (unmarshal) a Ticket from a DER input stream.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
Public Constructors
Parameters
| new_realm
| |
| new_sname
| |
| new_encPart
| |
public
Ticket
(byte[] data)
public
Ticket
(DerValue encoding)
Public Methods
public
byte[]
asn1Encode
()
Returns
- byte array of encoded ticket object.
Throws
| Asn1Exception
| if an error occurs while decoding an ASN1 encoded data. |
| IOException
| if an I/O error occurs while reading encoded data.
|
public
static
Ticket
parse
(DerInputStream data, byte explicitTag, boolean optional)
Parse (unmarshal) a Ticket 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.
Parameters
| data
| The Der input stream value, which contains one or more marshaled value. |
| explicitTag
| Tag number. |
| optional
| Indicate if this data field is optional |