public class

LastReq

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

Class Overview

Implements the ASN.1 LastReq type.

LastReq ::= SEQUENCE OF SEQUENCE { lr-type [0] Int32, lr-value [1] KerberosTime }

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

Summary

Fields
private LastReqEntry[] entry
private Config kerberosConfig
Public Constructors
LastReq(LastReqEntry[] entries, Config kerberosConfig)
LastReq(DerValue encoding, Config kerberosConfig)
Constructs a LastReq object.
Public Methods
byte[] asn1Encode()
Encodes an LastReq object.
static LastReq parse(DerInputStream data, byte explicitTag, boolean optional, Config kerberosConfig)
Parse (unmarshal) a last request from a DER input stream.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private LastReqEntry[] entry

private Config kerberosConfig

Public Constructors

public LastReq (LastReqEntry[] entries, Config kerberosConfig)

Parameters
entries
kerberosConfig
Throws
IOException

public LastReq (DerValue encoding, Config kerberosConfig)

Constructs a LastReq 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 an LastReq object.

Returns
  • the byte array of encoded LastReq object.
Throws
Asn1Exception if an error occurs while decoding an ASN1 encoded data.
IOException if an I/O error occurs while reading encoded data.

public static LastReq parse (DerInputStream data, byte explicitTag, boolean optional, Config kerberosConfig)

Parse (unmarshal) a last request from a DER input stream. This form parsing might be used when expanding a value which is part of a constructed sequence and uses explicitly tagged type.

Parameters
data The Der input stream value, which contains one or more marshaled value.
explicitTag Tag number.
optional Indicates if this data field is optional
kerberosConfig
Returns
  • an instance of LastReq.
Throws
Asn1Exception on error.
IOException