public class

PAEncTSEnc

extends Object
java.lang.Object
   ↳ sun.security.mule.krb5.internal.PAEncTSEnc

Class Overview

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.

Summary

Fields
private Config kerberosConfig
public KerberosTime pATimeStamp
public Integer pAUSec
Public Constructors
PAEncTSEnc(KerberosTime new_pATimeStamp, Integer new_pAUSec, Config kerberosConfig)
PAEncTSEnc(Config kerberosConfig)
PAEncTSEnc(DerValue encoding, Config kerberosConfig)
Constructs a PAEncTSEnc object.
Public Methods
byte[] asn1Encode()
Encodes a PAEncTSEnc object.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private Config kerberosConfig

public KerberosTime pATimeStamp

public Integer pAUSec

Public Constructors

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

Parameters
new_pATimeStamp
new_pAUSec
kerberosConfig

public PAEncTSEnc (Config kerberosConfig)

Parameters
kerberosConfig

public PAEncTSEnc (DerValue encoding, Config kerberosConfig)

Constructs a PAEncTSEnc object.

Parameters
encoding A Der-encoded data.
kerberosConfig
Throws
Asn1Exception if an error occurs while decoding an ASN1 encoded data.
IOException if an I/O error occurs while reading encoded data.

Public Methods

public byte[] asn1Encode ()

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.