com.ibm.security.krb5.internal

Class PAEtypeInfo

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

  1. public class PAEtypeInfo
  2. extends java.lang.Object
Implements the ASN.1 PAEtypeInfo type. ETYPE-INFO-ENTRY ::= SEQUENCE { etype [0] Int32, salt [1] OCTET STRING OPTIONAL }

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
  1. byte[]
asn1Encode()
Encodes a PAEncTSEnc object.
  1. int
getEtype()
  1. byte[]
getSalt()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

PAEtypeInfo

  1. public PAEtypeInfo(int new_etype,
  2. byte[] new_salt)

PAEtypeInfo

  1. public PAEtypeInfo()

PAEtypeInfo

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

  1. public byte[] asn1Encode()
  2. throws Asn1Exception
  3. 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

  1. public byte[] getSalt()

getEtype

  1. public int getEtype()