com.ibm.security.krb5.internal

Class LastReq

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

  1. public class LastReq
  2. extends java.lang.Object
Implements the ASN.1 LastReq type. LastReq ::= SEQUENCE OF SEQUENCE { lr-type[0] INTEGER, lr-value[1] KerberosTime }

This definition reflects the Network Working Group RFC 1510 specifications dated September 1993 and available at http://www.ietf.org/rfc/rfc1510.txt.


Field Summary

Modifier and Type Field and Description
  1. LastReqEntry[]
entry

Constructor Summary

Constructor and Description
LastReq(com.ibm.security.util.DerValue encoding)
Constructs a LastReq object.
LastReq(LastReqEntry[] entries)

Method Summary

Modifier and Type Method and Description
  1. byte[]
asn1Encode()
Encodes an LastReq object.
  1. static
  2. LastReq
parse(com.ibm.security.util.DerInputStream data,byte explicitTag,boolean optional)
Parse (unmarshal) a last request from a DER input stream.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

entry

  1. public LastReqEntry[] entry

Constructor Detail

LastReq

  1. public LastReq(LastReqEntry[] entries)

LastReq

  1. public LastReq(com.ibm.security.util.DerValue encoding)
  2. throws Asn1Exception
  3. java.io.IOException
Constructs a LastReq 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 an LastReq object.
Returns:
the byte array of encoded LastReq 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.

parse

  1. public static LastReq parse(com.ibm.security.util.DerInputStream data,
  2. byte explicitTag,
  3. boolean optional)
  4. throws Asn1Exception
  5. java.io.IOException
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
Returns:
an instance of LastReq.
Throws:
Asn1Exception - on error.
java.io.IOException