public class TicketDecoder extends Object
| Constructor and Description |
|---|
TicketDecoder() |
| Modifier and Type | Method and Description |
|---|---|
static Ticket |
decode(byte[] encodedTicket)
Decodes a byte array into an
Ticket. |
protected static Ticket |
decode(org.apache.directory.shared.asn1.der.DERApplicationSpecific app)
Ticket ::= [APPLICATION 1] SEQUENCE {
tkt-vno[0] INTEGER,
realm[1] Realm,
sname[2] PrincipalName,
enc-part[3] EncryptedData
}
|
static Ticket[] |
decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence)
Decodes a
DERSequence into an array of Tickets. |
public static Ticket decode(byte[] encodedTicket) throws IOException
Ticket.encodedTicket - Ticket.IOExceptionpublic static Ticket[] decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence) throws IOException
DERSequence into an array of Tickets.sequence - Tickets.IOExceptionprotected static Ticket decode(org.apache.directory.shared.asn1.der.DERApplicationSpecific app) throws IOException
IOExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.