sun.security.mule.krb5.internal
Class PAEncTSEnc

java.lang.Object
  extended by sun.security.mule.krb5.internal.PAEncTSEnc

public class PAEncTSEnc
extends Object

Implements the ASN.1 PAEncTSEnc type.

PA-ENC-TS-ENC ::= SEQUENCE { patimestamp [0] KerberosTime -- client's time --, pausec [1] Microseconds OPTIONAL }

This definition reflects the Network Working Group RFC 4120 specification available at http://www.ietf.org/rfc/rfc4120.txt.


Field Summary
 KerberosTime pATimeStamp
           
 Integer pAUSec
           
 
Constructor Summary
PAEncTSEnc(Config kerberosConfig)
           
PAEncTSEnc(sun.security.util.DerValue encoding, Config kerberosConfig)
          Constructs a PAEncTSEnc object.
PAEncTSEnc(KerberosTime new_pATimeStamp, Integer new_pAUSec, Config kerberosConfig)
           
 
Method Summary
 byte[] asn1Encode()
          Encodes a PAEncTSEnc object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pATimeStamp

public KerberosTime pATimeStamp

pAUSec

public Integer pAUSec
Constructor Detail

PAEncTSEnc

public PAEncTSEnc(KerberosTime new_pATimeStamp,
                  Integer new_pAUSec,
                  Config kerberosConfig)

PAEncTSEnc

public PAEncTSEnc(Config kerberosConfig)

PAEncTSEnc

public PAEncTSEnc(sun.security.util.DerValue encoding,
                  Config kerberosConfig)
           throws Asn1Exception,
                  IOException
Constructs a PAEncTSEnc object.

Parameters:
encoding - a Der-encoded data.
Throws:
Asn1Exception - if an error occurs while decoding an ASN1 encoded data.
IOException - if an I/O error occurs while reading encoded data.
Method Detail

asn1Encode

public byte[] asn1Encode()
                  throws Asn1Exception,
                         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.
IOException - if an I/O error occurs while reading encoded data.


Copyright © 2013. All Rights Reserved.