com.ibm.security.krb5.internal

Class AuthorizationDataEntry

  1. java.lang.Object
  2. extended bycom.ibm.security.krb5.internal.AuthorizationDataEntry
All implemented interfaces:
java.lang.Cloneable

  1. public class AuthorizationDataEntry
  2. extends java.lang.Object
  3. implements java.lang.Cloneable

Field Summary

Modifier and Type Field and Description
  1. byte[]
adData
  1. int
adType

Constructor Summary

Constructor and Description
AuthorizationDataEntry(com.ibm.security.util.DerValue encoding)
Constructs an instance of AuthorizationDataEntry.
AuthorizationDataEntry(int new_adType,byte[] new_adData)

Method Summary

Modifier and Type Method and Description
  1. byte[]
asn1Encode()
Encodes an AuthorizationDataEntry object.
  1. java.lang.Object
clone()
  1. void
writeEntry(CCacheOutputStream cos)
Writes the entry's data fields in FCC format to an output stream.
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

adType

  1. public int adType

adData

  1. public byte[] adData

Constructor Detail

AuthorizationDataEntry

  1. public AuthorizationDataEntry(int new_adType,
  2. byte[] new_adData)

AuthorizationDataEntry

  1. public AuthorizationDataEntry(com.ibm.security.util.DerValue encoding)
  2. throws Asn1Exception
  3. java.io.IOException
Constructs an instance of AuthorizationDataEntry.
Parameters:
encoding - a single DER-encoded value.
Throws:
java.io.IOException

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 an AuthorizationDataEntry object.
Returns:
byte array of encoded AuthorizationDataEntry 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.

writeEntry

  1. public void writeEntry(CCacheOutputStream cos)
  2. throws java.io.IOException
Writes the entry's data fields in FCC format to an output stream.
Parameters:
cos - a CCacheOutputStream.
Throws:
java.io.IOException - if an I/O exception occurs.