com.ibm.security.krb5.internal

Class PAEtypeInfo2

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

  1. public class PAEtypeInfo2
  2. extends java.lang.Object
Implements the ASN.1 PAEtypeInfo2 type. ETYPE-INFO2-ENTRY ::= SEQUENCE { etype [0] Int32, salt [1] KerberosString OPTIONAL, s2kparams [2] 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
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
  1. byte[]
asn1Encode()
Encodes a PAEncTSEnc object.
  1. int
getEtype()
  1. java.lang.String
getSalt()
  1. byte[]
s2kparams()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

PAEtypeInfo2

  1. public PAEtypeInfo2(java.lang.String new_salt,
  2. int new_etype,
  3. byte[] new_s2kparams)

PAEtypeInfo2

  1. public PAEtypeInfo2()

PAEtypeInfo2

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

  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 java.lang.String getSalt( )

getEtype

  1. public int getEtype()

s2kparams

  1. public byte[] s2kparams()