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.
| Modifier and Type | Field and Description |
|---|---|
| public EncryptedData | |
| public PrincipalName | |
| public int |
| Access | Constructor and Description |
|---|---|
| private | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public Object | |
| private void | |
| public static Ticket | Returns: an instance of Ticket.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) a Ticket from a DER input stream. |
| encPart | back to summary |
|---|---|
| public EncryptedData encPart | |
| sname | back to summary |
|---|---|
| public PrincipalName sname | |
| tkt_vno | back to summary |
|---|---|
| public int tkt_vno | |
| Ticket | back to summary |
|---|---|
| private Ticket() | |
| Ticket | back to summary |
|---|---|
| public Ticket(PrincipalName new_sname, EncryptedData new_encPart) | |
| Ticket | back to summary |
|---|---|
| public Ticket(byte[] data) throws Asn1Exception, RealmException, KrbApErrException, IOException | |
| Ticket | back to summary |
|---|---|
| public Ticket(DerValue encoding) throws Asn1Exception, RealmException, KrbApErrException, IOException | |
| asn1Encode | back to summary |
|---|---|
| public byte[] asn1Encode() throws Asn1Exception, IOException Encodes a Ticket object.
| |
| 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 | |
| init | back to summary |
|---|---|
| private void init(DerValue encoding) throws Asn1Exception, RealmException, KrbApErrException, IOException Initializes a Ticket object.
| |
| parse | back to summary |
|---|---|
| public static Ticket parse(DerInputStream data, byte explicitTag, boolean optional) throws Asn1Exception, IOException, RealmException, KrbApErrException 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.
| |