com.ibm.security.krb5.internal

Class APReq

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

  1. public class APReq
  2. extends java.lang.Object
Implements the ASN.1 AP-REQ type. AP-REQ ::= [APPLICATION 14] SEQUENCE { pvno[0] INTEGER, msg-type[1] INTEGER, ap-options[2] APOptions, ticket[3] Ticket, authenticator[4] EncryptedData }

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


Constructor Summary

Constructor and Description
APReq(APOptions new_apOptions,Ticket new_ticket,EncryptedData new_authenticator)
APReq(byte[] data)
APReq(com.ibm.security.util.DerValue encoding)

Method Summary

Modifier and Type Method and Description
  1. byte[]
asn1Encode()
Encodes an APReq object.
  1. EncryptedData
getEncryptedAuthenticator()
  1. int
getMessageType()
  1. APOptions
getOptions()
  1. int
getProtocolVersionNumber()
  1. Ticket
getTicket()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

APReq

  1. public APReq(APOptions new_apOptions,
  2. Ticket new_ticket,
  3. EncryptedData new_authenticator)

APReq

  1. public APReq(byte[] data)
  2. throws Asn1Exception
  3. java.io.IOException
  4. KrbApErrException
  5. RealmException
Throws:
java.io.IOException

APReq

  1. public APReq(com.ibm.security.util.DerValue encoding)
  2. throws Asn1Exception
  3. java.io.IOException
  4. KrbApErrException
  5. RealmException
Throws:
java.io.IOException

Method Detail

asn1Encode

  1. public byte[] asn1Encode()
  2. throws Asn1Exception
  3. java.io.IOException
Encodes an APReq object.
Returns:
byte array of encoded APReq 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.

getProtocolVersionNumber

  1. public int getProtocolVersionNumber( )

getMessageType

  1. public int getMessageType()

getOptions

  1. public APOptions getOptions()

getTicket

  1. public Ticket getTicket()

getEncryptedAuthenticator

  1. public EncryptedData getEncryptedAuthenticator( )