com.ibm.security.krb5.internal

Class EncTicketPart

  1. java.lang.Object
  2. extended bycom.ibm.security.krb5.internal.EncTicketPart

  1. public class EncTicketPart
  2. extends java.lang.Object
Implements the ASN.1 EncTicketPart type. EncTicketPart ::= [APPLICATION 3] SEQUENCE { flags[0] TicketFlags, key[1] EncryptionKey, crealm[2] Realm, cname[3] PrincipalName, transited[4] TransitedEncoding, authtime[5] KerberosTime, starttime[6] KerberosTime OPTIONAL, endtime[7] KerberosTime, renew-till[8] KerberosTime OPTIONAL, caddr[9] HostAddresses OPTIONAL, authorization-data[10] AuthorizationData OPTIONAL }

This definition reflects the Network Working Group RFC 1510 specifications dated September 1993 and available at http://www.ietf.org/rfc/rfc1510.txt.


Constructor Summary

Constructor and Description
EncTicketPart(byte[] data)
EncTicketPart(com.ibm.security.util.DerValue encoding)
EncTicketPart(TicketFlags new_flags,EncryptionKey new_key,Realm new_crealm,PrincipalName new_cname,TransitedEncoding new_transited,KerberosTime new_authtime,KerberosTime new_starttime,KerberosTime new_endtime,KerberosTime new_renewTill,HostAddresses new_caddr,AuthorizationData new_authorizationData)

Method Summary

Modifier and Type Method and Description
  1. byte[]
asn1Encode()
Encodes an EncTicketPart object.
  1. KerberosTime
getAuthTime()
  1. AuthorizationData
getAuthzData()
  1. PrincipalName
getClient()
  1. HostAddresses
getClientAddresses()
  1. Realm
getClientRealm()
  1. EncryptionKey
getEncryptionKey()
  1. KerberosTime
getEndTime()
  1. KerberosTime
getRenewableTillTime()
  1. KerberosTime
getStartTime()
  1. TicketFlags
getTicketFlags()
  1. TransitedEncoding
getTransitedEncoding()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

EncTicketPart

  1. public EncTicketPart(TicketFlags new_flags,
  2. EncryptionKey new_key,
  3. Realm new_crealm,
  4. PrincipalName new_cname,
  5. TransitedEncoding new_transited,
  6. KerberosTime new_authtime,
  7. KerberosTime new_starttime,
  8. KerberosTime new_endtime,
  9. KerberosTime new_renewTill,
  10. HostAddresses new_caddr,
  11. AuthorizationData new_authorizationData)

EncTicketPart

  1. public EncTicketPart(byte[] data)
  2. throws Asn1Exception
  3. KrbException
  4. java.io.IOException
Throws:
java.io.IOException

EncTicketPart

  1. public EncTicketPart(com.ibm.security.util.DerValue encoding)
  2. throws Asn1Exception
  3. KrbException
  4. java.io.IOException
Throws:
java.io.IOException

Method Detail

asn1Encode

  1. public byte[] asn1Encode()
  2. throws Asn1Exception
  3. java.io.IOException
Encodes an EncTicketPart object.
Returns:
byte array of encoded EncTicketPart object.
Throws:
Asn1Exception - if an error occurs while decoding an ASN1 encoded data.
java.io.IOException - if an I/O error occurs while reading encoded data.

getTicketFlags

  1. public TicketFlags getTicketFlags( )

getEncryptionKey

  1. public EncryptionKey getEncryptionKey( )

getClientRealm

  1. public Realm getClientRealm()

getClient

  1. public PrincipalName getClient( )

getTransitedEncoding

  1. public TransitedEncoding getTransitedEncoding( )

getAuthTime

  1. public KerberosTime getAuthTime( )

getStartTime

  1. public KerberosTime getStartTime( )

getEndTime

  1. public KerberosTime getEndTime( )

getRenewableTillTime

  1. public KerberosTime getRenewableTillTime( )

getClientAddresses

  1. public HostAddresses getClientAddresses( )

getAuthzData

  1. public AuthorizationData getAuthzData( )