com.ibm.security.krb5
Class KrbApRep
- java.lang.Object
com.ibm.security.krb5.KrbApRep
- public class KrbApRep
- extends java.lang.Object
Constructor Summary
Constructor and Description |
---|
KrbApRep(byte[] message,Credentials tgtCreds,KrbApReq outgoingReq)
Constructs a KRB-AP-REQ from the bytes received from a service.
|
KrbApRep(com.ibm.security.util.DerValue value,Credentials tgtCreds,KrbApReq outgoingReq)
Constructs a KRB-AP-REQ from the bytes received from a service.
|
KrbApRep(KrbApReq incomingReq,boolean useSeqNumber,boolean useSubKey)
Constructs a KRB-AP-REP to send to a client.
|
KrbApRep(KrbApReq incomingReq,EncryptionKey subKey,boolean useSeqNumber)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getMessage()
Returns the ASN.1 encoding that should be sent to the peer.
|
|
getSeqNumber()
Returns the optional sequence number stored in the
this message.
|
getSubKey()
Returns the optional subkey stored in
this message.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
KrbApRep
- public KrbApRep(KrbApReq incomingReq,
- boolean useSeqNumber,
- boolean useSubKey)
- throws KrbException
- java.io.IOException
Constructs a KRB-AP-REP to send to a client.
KrbApRep
- public KrbApRep(KrbApReq incomingReq,
- EncryptionKey subKey,
- boolean useSeqNumber)
- throws KrbException
- java.io.IOException
KrbApRep
- public KrbApRep(byte[] message,
- Credentials tgtCreds,
- KrbApReq outgoingReq)
- throws KrbException
- java.io.IOException
Constructs a KRB-AP-REQ from the bytes received from a service.
KrbApRep
- public KrbApRep(com.ibm.security.util.DerValue value,
- Credentials tgtCreds,
- KrbApReq outgoingReq)
- throws KrbException
- java.io.IOException
Constructs a KRB-AP-REQ from the bytes received from a service.
Method Detail
getSubKey
- public EncryptionKey getSubKey( )
Returns the optional subkey stored in
this message. Returns null if none is stored.
getSeqNumber
- public java.lang.Integer getSeqNumber( )
Returns the optional sequence number stored in the
this message. Returns null if none is stored.
getMessage
- public byte[] getMessage()
Returns the ASN.1 encoding that should be sent to the peer.