com.ibm.security.krb5.internal

Class KRBPriv

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

  1. public class KRBPriv
  2. extends java.lang.Object
Implements the ASN.1 KRB-PRIV type. KRB-PRIV ::= [APPLICATION 21] SEQUENCE { pvno[0] INTEGER, msg-type[1] INTEGER, enc-part[3] EncryptedData }

This definition reflects the Network Working Group RFC 1510 specifications dated September 1993 and available at http://www.ietf.org/rfc/rfc1510.txt.


Field Summary

Modifier and Type Field and Description
  1. EncryptedData
encPart
  1. int
msgType
  1. int
pvno

Constructor Summary

Constructor and Description
KRBPriv(byte[] data)
KRBPriv(com.ibm.security.util.DerValue encoding)
KRBPriv(EncryptedData new_encPart)

Method Summary

Modifier and Type Method and Description
  1. byte[]
asn1Encode()
Encodes an KRBPriv object.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

pvno

  1. public int pvno

msgType

  1. public int msgType

encPart

  1. public EncryptedData encPart

Constructor Detail

KRBPriv

  1. public KRBPriv(EncryptedData new_encPart)

KRBPriv

  1. public KRBPriv(byte[] data)
  2. throws Asn1Exception
  3. KrbApErrException
  4. java.io.IOException
Throws:
java.io.IOException

KRBPriv

  1. public KRBPriv(com.ibm.security.util.DerValue encoding)
  2. throws Asn1Exception
  3. KrbApErrException
  4. java.io.IOException
Throws:
java.io.IOException

Method Detail

asn1Encode

  1. public byte[] asn1Encode()
  2. throws Asn1Exception
  3. java.io.IOException
Encodes an KRBPriv object.
Returns:
byte array of encoded EncAPRepPart 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.