APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.krb5.internal

public Class PAEncTSEnc

extends Object
Class Inheritance
Imports
sun.security.util.*, sun.security.krb5.Asn1Exception, java.io.IOException, java.math.BigInteger

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

Modifier and TypeField and Description
public KerberosTime
public Integer

Constructor Summary

AccessConstructor and Description
public
PAEncTSEnc(KerberosTime new_pATimeStamp, Integer new_pAUSec)

public
public
PAEncTSEnc(DerValue
a Der-encoded data.
encoding
)

Constructs a PAEncTSEnc object.

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

the byte array of encoded PAEncTSEnc object.
asn1Encode
()

Encodes a PAEncTSEnc object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

pATimeStampback to summary
public KerberosTime pATimeStamp
pAUSecback to summary
public Integer pAUSec

Constructor Detail

PAEncTSEncback to summary
public PAEncTSEnc(KerberosTime new_pATimeStamp, Integer new_pAUSec)
PAEncTSEncback to summary
public PAEncTSEnc()
PAEncTSEncback to summary
public PAEncTSEnc(DerValue encoding) throws Asn1Exception, IOException

Constructs a PAEncTSEnc object.

Parameters
encoding:DerValue

a Der-encoded data.

Exceptions
Asn1Exception:
if an error occurs while decoding an ASN1 encoded data.
IOException:
if an I/O error occurs while reading encoded data.

Method Detail

asn1Encodeback to summary
public byte[] asn1Encode() throws Asn1Exception, IOException

Encodes a PAEncTSEnc object.

Returns:byte[]

the byte array of encoded PAEncTSEnc object.

Exceptions
Asn1Exception:
if an error occurs while decoding an ASN1 encoded data.
IOException:
if an I/O error occurs while reading encoded data.