com.ibm.security.krb5.internal
Class AuthorizationDataEntry
- java.lang.Object
com.ibm.security.krb5.internal.AuthorizationDataEntry
All implemented interfaces:
java.lang.Cloneable
- public class AuthorizationDataEntry
- extends java.lang.Object
- implements java.lang.Cloneable
Field Summary
Modifier and Type | Field and Description |
---|---|
|
adData
|
|
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 |
---|---|
|
asn1Encode()
Encodes an AuthorizationDataEntry object.
|
|
clone()
|
|
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
- public int adType
adData
- public byte[] adData
Constructor Detail
AuthorizationDataEntry
- public AuthorizationDataEntry(int new_adType,
- byte[] new_adData)
AuthorizationDataEntry
- public AuthorizationDataEntry(com.ibm.security.util.DerValue encoding)
- throws Asn1Exception
- java.io.IOException
Constructs an instance of AuthorizationDataEntry.
Method Detail
clone
- public java.lang.Object clone()
Overrides:
clone
in class java.lang.Object
asn1Encode
- public byte[] asn1Encode()
- throws Asn1Exception
- 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
- public void writeEntry(CCacheOutputStream cos)
- 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.