public class TicketEncoder extends Object
Constructor and Description |
---|
TicketEncoder() |
Modifier and Type | Method and Description |
---|---|
protected static org.apache.directory.shared.asn1.der.DERApplicationSpecific |
encode(Ticket ticket)
Ticket ::= [APPLICATION 1] SEQUENCE {
tkt-vno[0] INTEGER,
realm[1] Realm,
sname[2] PrincipalName,
enc-part[3] EncryptedData
}
|
protected static org.apache.directory.shared.asn1.der.DERSequence |
encodeSequence(Ticket[] tickets) |
static byte[] |
encodeTicket(Ticket ticket)
Encodes a
Ticket into a its ASN.1 DER encoding. |
public static byte[] encodeTicket(Ticket ticket) throws IOException
Ticket
into a its ASN.1 DER encoding.ticket
- Ticket
.IOException
protected static org.apache.directory.shared.asn1.der.DERApplicationSpecific encode(Ticket ticket)
protected static org.apache.directory.shared.asn1.der.DERSequence encodeSequence(Ticket[] tickets)
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.