com.ibm.security.krb5.internal

Class PAEncTSEnc

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

  1. public class PAEncTSEnc
  2. extends java.lang.Object
Implements the ASN.1 PAEncTSEnc type. PA-ENC-TS-ENC ::= SEQUENCE { patimestamp[0] KerberosTime, -- client's time pausec[1] INTEGER 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
PAEncTSEnc()
PAEncTSEnc(com.ibm.security.util.DerValue encoding)
Constructs a PAEncTSEnc object.
PAEncTSEnc(KerberosTime new_pATimeStamp,java.lang.Integer new_pAUSec)

Method Summary

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

Constructor Detail

PAEncTSEnc

  1. public PAEncTSEnc(KerberosTime new_pATimeStamp,
  2. java.lang.Integer new_pAUSec)

PAEncTSEnc

  1. public PAEncTSEnc()

PAEncTSEnc

  1. public PAEncTSEnc(com.ibm.security.util.DerValue encoding)
  2. throws Asn1Exception
  3. java.io.IOException
Constructs a PAEncTSEnc object.
Parameters:
encoding - a Der-encoded data.
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.

Method Detail

asn1Encode

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

getTime

  1. public KerberosTime getTime()

getMicroSeconds

  1. public int getMicroSeconds()