com.ibm.security.krb5.internal
Class PAEtypeInfo2
- java.lang.Object
com.ibm.security.krb5.internal.PAEtypeInfo2
- public class PAEtypeInfo2
- 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 |
---|
PAEtypeInfo2()
|
PAEtypeInfo2(com.ibm.security.util.DerValue encoding)
Constructs a PAEtypeInfo2 object.
|
PAEtypeInfo2(java.lang.String new_salt,int new_etype,byte[] new_s2kparams)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
asn1Encode()
Encodes a PAEncTSEnc object.
|
|
getEtype()
|
|
getSalt()
|
|
s2kparams()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
PAEtypeInfo2
- public PAEtypeInfo2(java.lang.String new_salt,
- int new_etype,
- byte[] new_s2kparams)
PAEtypeInfo2
- public PAEtypeInfo2()
PAEtypeInfo2
- public PAEtypeInfo2(com.ibm.security.util.DerValue encoding)
- throws Asn1Exception
- java.io.IOException
Constructs a PAEtypeInfo2 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 java.lang.String getSalt( )
getEtype
- public int getEtype()
s2kparams
- public byte[] s2kparams()