public class EncTicketPart extends Object implements org.apache.directory.api.asn1.Asn1Object
Constructor and Description |
---|
EncTicketPart() |
public EncTicketPart()
public int computeLength()
0x63 L1 EncTicketPart tag | +--> 0x30 L1-2 EncTicketPart seq | +--> 0xA0 L2 flags tag | | | +--> 0x03 L2-2 flags (BitString) | +--> 0xA1 L3 key tag | | | +--> 0x30 L3-2 key (EncryptionKey) | +--> 0xA2 L4 crealm tag | | | +--> 0x1B L4-2 crealm (Realm) | +--> 0xA3 L5 cname tag | | | +--> 0x30 L5-2 cname (PrincipalName) | +--> 0xA4 L6 transited tag | | | +--> 0x30 L6-2 transited (TransitedEncoding) | +--> 0xA5 0x11 authtime tag | | | +--> 0x18 0x0F authtime (KerberosTime) | +--> [0xA6 0x11 starttime tag | | | +--> 0x18 0x0F starttime (KerberosTime)] | +--> 0xA7 0x11 endtime tag | | | +--> 0x18 0x0F endtime (KerberosTime) | +--> [0xA8 0x11 renewtill tag | | | +--> 0x18 0x0F renewtill (KerberosTime)] | +--> [0xA9 L7 caddr tag | | | +--> 0x30 L7-2 caddre (HostAddresses)] | +--> [0xAA L8 authorization-data tag | +--> 0x30 L8-2 authorization-data (AuthorizationData)]
computeLength
in interface org.apache.directory.api.asn1.Asn1Object
public ByteBuffer encode(ByteBuffer buffer) throws org.apache.directory.api.asn1.EncoderException
encode
in interface org.apache.directory.api.asn1.Asn1Object
org.apache.directory.api.asn1.EncoderException
public TicketFlags getFlags()
public void setFlags(TicketFlags flags)
flags
- the flags to setpublic EncryptionKey getKey()
public void setKey(EncryptionKey key)
key
- the key to setpublic PrincipalName getCName()
public void setCName(PrincipalName cName)
cName
- the cName to setpublic TransitedEncoding getTransited()
public void setTransited(TransitedEncoding transited)
transited
- the transited to setpublic KerberosTime getAuthTime()
public void setAuthTime(KerberosTime authTime)
authTime
- the authTime to setpublic KerberosTime getStartTime()
public void setStartTime(KerberosTime startTime)
startTime
- the startTime to setpublic KerberosTime getEndTime()
public void setEndTime(KerberosTime endTime)
endTime
- the endTime to setpublic KerberosTime getRenewTill()
public void setRenewTill(KerberosTime renewtill)
renewtill
- the renewtill to setpublic HostAddresses getClientAddresses()
public void setClientAddresses(HostAddresses clientAddresses)
clientAddresses
- the clientAddresses to setpublic AuthorizationData getAuthorizationData()
public void setAuthorizationData(AuthorizationData authzData)
authzData
- the authzData to setpublic void setFlag(TicketFlag flag)
flag
- the flag to be setpublic String toString()
toString
in class Object
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.