com.ibm.security.krb5.internal

Class EncKrbCredPart

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

  1. public class EncKrbCredPart
  2. extends java.lang.Object
Implements the ASN.1 EncKrbCredPart type. EncKrbCredPart ::= [APPLICATION 29] SEQUENCE { ticket-info[0] SEQUENCE OF KrbCredInfo, nonce[1] INTEGER OPTIONAL, timestamp[2] KerberosTime OPTIONAL, usec[3] INTEGER OPTIONAL, s-address[4] HostAddress OPTIONAL, r-address[5] HostAddress OPTIONAL }

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


Field Summary

Modifier and Type Field and Description
  1. java.lang.Integer
nonce
  1. HostAddresses
rAddress
  1. HostAddress
sAddress
  1. KrbCredInfo[]
ticketInfo
  1. KerberosTime
timeStamp
  1. java.lang.Integer
usec

Constructor Summary

Constructor and Description
EncKrbCredPart(byte[] data)
EncKrbCredPart(com.ibm.security.util.DerValue encoding)
EncKrbCredPart(KrbCredInfo[] new_ticketInfo,KerberosTime new_timeStamp,java.lang.Integer new_usec,java.lang.Integer new_nonce,HostAddress new_sAddress,HostAddresses new_rAddress)

Method Summary

Modifier and Type Method and Description
  1. byte[]
asn1Encode()
Encodes an EncKrbCredPart object.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

ticketInfo

  1. public KrbCredInfo[] ticketInfo

nonce

  1. public java.lang.Integer nonce

timeStamp

  1. public KerberosTime timeStamp

usec

  1. public java.lang.Integer usec

sAddress

  1. public HostAddress sAddress

rAddress

  1. public HostAddresses rAddress

Constructor Detail

EncKrbCredPart

  1. public EncKrbCredPart(KrbCredInfo[] new_ticketInfo,
  2. KerberosTime new_timeStamp,
  3. java.lang.Integer new_usec,
  4. java.lang.Integer new_nonce,
  5. HostAddress new_sAddress,
  6. HostAddresses new_rAddress)

EncKrbCredPart

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

EncKrbCredPart

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

Method Detail

asn1Encode

  1. public byte[] asn1Encode()
  2. throws Asn1Exception
  3. java.io.IOException
Encodes an EncKrbCredPart object.
Returns:
byte array of encoded EncKrbCredPart 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.