com.ibm.security.krb5.internal
Class PAData
- java.lang.Object
com.ibm.security.krb5.internal.PAData
- public class PAData
- extends java.lang.Object
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 |
---|---|
|
asn1Encode()
Encodes this object to an OutputStream.
|
|
clone()
|
|
getType()
|
|
getValue()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
PAData
- public PAData(int new_pADataType,
- byte[] new_pADataValue)
PAData
- public PAData(com.ibm.security.util.DerValue encoding)
- throws Asn1Exception
- 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
- public java.lang.Object clone()
Overrides:
clone
in class java.lang.Object
asn1Encode
- public byte[] asn1Encode()
- throws Asn1Exception
- 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
- public int getType()
getValue
- public byte[] getValue()