com.ibm.security.krb5.internal

Class ETypeInfo

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

  1. public class ETypeInfo
  2. 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
  1. byte[]
asn1Encode()
Encodes this object to an OutputStream.
  1. java.lang.Object
clone()
  1. int
getEType()
  1. byte[]
getSalt()
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ETypeInfo

  1. public ETypeInfo(int etype,
  2. byte[] salt)

ETypeInfo

  1. public ETypeInfo(com.ibm.security.util.DerValue encoding)
  2. throws Asn1Exception
  3. 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

  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.

getEType

  1. public int getEType()

getSalt

  1. public byte[] getSalt()