com.ibm.security.krb5.internal

Class PAData

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

  1. public class PAData
  2. extends java.lang.Object
Implements the ASN.1 PA-DATA type. PA-DATA ::= SEQUENCE { padata-type[1] INTEGER, padata-value[2] OCTET STRING, }

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
PAData(com.ibm.security.util.DerValue encoding)
Constructs a PAData object.
PAData(int new_pADataType,byte[] new_pADataValue)

Method Summary

Modifier and Type Method and Description
  1. byte[]
asn1Encode()
Encodes this object to an OutputStream.
  1. java.lang.Object
clone()
  1. int
getType()
  1. byte[]
getValue()
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

PAData

  1. public PAData(int new_pADataType,
  2. byte[] new_pADataValue)

PAData

  1. public PAData(com.ibm.security.util.DerValue encoding)
  2. throws Asn1Exception
  3. java.io.IOException
Constructs a PAData 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

clone

  1. public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

asn1Encode

  1. public byte[] asn1Encode()
  2. throws Asn1Exception
  3. java.io.IOException
Encodes this object to an OutputStream.
Returns:
byte array of the encoded data.
Throws:
java.io.IOException - if an I/O error occurs while reading encoded data.
Asn1Exception - on encoding errors.

getType

  1. public int getType()

getValue

  1. public byte[] getValue()