com.ibm.security.krb5.internal
Class APReq
- java.lang.Object
com.ibm.security.krb5.internal.APReq
- public class APReq
- 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.
Constructor Summary
Constructor and Description |
---|
APReq(APOptions new_apOptions,Ticket new_ticket,EncryptedData new_authenticator)
|
APReq(byte[] data)
|
APReq(com.ibm.security.util.DerValue encoding)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
asn1Encode()
Encodes an APReq object.
|
getEncryptedAuthenticator()
|
|
|
getMessageType()
|
getOptions()
|
|
|
getProtocolVersionNumber()
|
getTicket()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
APReq
- public APReq(APOptions new_apOptions,
- Ticket new_ticket,
- EncryptedData new_authenticator)
APReq
- public APReq(byte[] data)
- throws Asn1Exception
- java.io.IOException
- KrbApErrException
- RealmException
APReq
- public APReq(com.ibm.security.util.DerValue encoding)
- throws Asn1Exception
- java.io.IOException
- KrbApErrException
- RealmException
Method Detail
asn1Encode
- public byte[] asn1Encode()
- throws Asn1Exception
- java.io.IOException
Encodes an APReq object.
Returns:
byte array of encoded APReq 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. getProtocolVersionNumber
- public int getProtocolVersionNumber( )
getMessageType
- public int getMessageType()
getOptions
- public APOptions getOptions()
getTicket
- public Ticket getTicket()
getEncryptedAuthenticator
- public EncryptedData getEncryptedAuthenticator( )