org.apache.directory.server.kerberos.shared.io.encoder
Class TicketEncoder

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.io.encoder.TicketEncoder

public class TicketEncoder
extends java.lang.Object

Version:
$Rev: 589780 $, $Date: 2007-10-29 19:14:59 +0100 (Mon, 29 Oct 2007) $
Author:
Apache Directory Project

Constructor Summary
TicketEncoder()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TicketEncoder

public TicketEncoder()
Method Detail

encodeTicket

public static byte[] encodeTicket(Ticket ticket)
                           throws java.io.IOException
Encodes a Ticket into a its ASN.1 DER encoding.

Parameters:
ticket -
Returns:
The byte[] containing the ASN.1 DER encoding of the Ticket.
Throws:
java.io.IOException

encode

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 }


encodeSequence

protected static org.apache.directory.shared.asn1.der.DERSequence encodeSequence(Ticket[] tickets)


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.