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 Ticket s. |
public static Ticket decode(byte[] encodedTicket) throws IOException
Ticket
.encodedTicket
- Ticket
.IOException
public static Ticket[] decodeSequence(org.apache.directory.shared.asn1.der.DERSequence sequence) throws IOException
DERSequence
into an array of Ticket
s.sequence
- Ticket
s.IOException
protected static Ticket decode(org.apache.directory.shared.asn1.der.DERApplicationSpecific app) throws IOException
IOException
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.