com.ibm.security.krb5.internal
Class PAEtypeInfo
- java.lang.Object
com.ibm.security.krb5.internal.PAEtypeInfo
- public class PAEtypeInfo
- extends java.lang.Object
This definition reflects the Network Working Group RFC 4120 specifications dated September 1993 and available at http://www.ietf.org/rfc/rfc4120.txt.
Constructor Summary
Constructor and Description |
---|
PAEtypeInfo()
|
PAEtypeInfo(com.ibm.security.util.DerValue encoding)
Constructs a PAEtypeInfo object.
|
PAEtypeInfo(int new_etype,byte[] new_salt)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
asn1Encode()
Encodes a PAEncTSEnc object.
|
|
getEtype()
|
|
getSalt()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
PAEtypeInfo
- public PAEtypeInfo(int new_etype,
- byte[] new_salt)
PAEtypeInfo
- public PAEtypeInfo()
PAEtypeInfo
- public PAEtypeInfo(com.ibm.security.util.DerValue encoding)
- throws Asn1Exception
- java.io.IOException
Constructs a PAEtypeInfo 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
- public byte[] asn1Encode()
- throws Asn1Exception
- java.io.IOException
Encodes a PAEncTSEnc object.
Returns:
the byte array of encoded PAEncTSEnc 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. getSalt
- public byte[] getSalt()
getEtype
- public int getEtype()