com.ibm.security.krb5.internal

Class ETypeInfo2

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

  1. public class ETypeInfo2
  2. extends java.lang.Object

Constructor Summary

Constructor and Description
ETypeInfo2(com.ibm.security.util.DerValue encoding)
Constructs a ETypeInfo2 object.
ETypeInfo2(int etype,byte[] salt,byte[] s2kparams)

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[]
getParams()
  1. byte[]
getSalt()
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ETypeInfo2

  1. public ETypeInfo2(int etype,
  2. byte[] salt,
  3. byte[] s2kparams)

ETypeInfo2

  1. public ETypeInfo2(com.ibm.security.util.DerValue encoding)
  2. throws Asn1Exception
  3. java.io.IOException
Constructs a ETypeInfo2 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()

getParams

  1. public byte[] getParams()