com.ibm.security.krb5.internal
Class ETypeInfo
- java.lang.Object
com.ibm.security.krb5.internal.ETypeInfo
- public class ETypeInfo
- extends java.lang.Object
Constructor Summary
Constructor and Description |
---|
ETypeInfo(com.ibm.security.util.DerValue encoding)
Constructs a ETypeInfo object.
|
ETypeInfo(int etype,byte[] salt)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
asn1Encode()
Encodes this object to an OutputStream.
|
|
clone()
|
|
getEType()
|
|
getSalt()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
ETypeInfo
- public ETypeInfo(int etype,
- byte[] salt)
ETypeInfo
- public ETypeInfo(com.ibm.security.util.DerValue encoding)
- throws Asn1Exception
- java.io.IOException
Constructs a ETypeInfo 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. getEType
- public int getEType()
getSalt
- public byte[] getSalt()