com.ibm.security.krb5.internal
Class KRBSafe
- java.lang.Object
com.ibm.security.krb5.internal.KRBSafe
- public class KRBSafe
- extends java.lang.Object
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 |
---|---|
cksum
|
|
|
msgType
|
|
pvno
|
safeBody
|
Constructor Summary
Constructor and Description |
---|
KRBSafe(byte[] data)
|
KRBSafe(com.ibm.security.util.DerValue encoding)
|
KRBSafe(KRBSafeBody new_safeBody,Checksum new_cksum)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
asn1Encode()
Encodes an KRBSafe object.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
pvno
- public int pvno
msgType
- public int msgType
safeBody
- public KRBSafeBody safeBody
cksum
- public Checksum cksum
Constructor Detail
KRBSafe
- public KRBSafe(KRBSafeBody new_safeBody,
- Checksum new_cksum)
KRBSafe
- public KRBSafe(byte[] data)
- throws Asn1Exception
- RealmException
- KrbApErrException
- java.io.IOException
KRBSafe
- public KRBSafe(com.ibm.security.util.DerValue encoding)
- throws Asn1Exception
- RealmException
- KrbApErrException
- java.io.IOException
Method Detail
asn1Encode
- public byte[] asn1Encode()
- throws Asn1Exception
- java.io.IOException
Encodes an KRBSafe object.
Returns:
byte array of encoded KRBSafe 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.