com.ibm.security.krb5

Class KrbApRep

  1. java.lang.Object
  2. extended bycom.ibm.security.krb5.KrbApRep

  1. public class KrbApRep
  2. extends java.lang.Object
This class encapsulates a KRB-AP-REP sent from the service to the client.

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
  1. byte[]
getMessage()
Returns the ASN.1 encoding that should be sent to the peer.
  1. java.lang.Integer
getSeqNumber()
Returns the optional sequence number stored in the this message.
  1. EncryptionKey
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

  1. public KrbApRep(KrbApReq incomingReq,
  2. boolean useSeqNumber,
  3. boolean useSubKey)
  4. throws KrbException
  5. java.io.IOException
Constructs a KRB-AP-REP to send to a client.
Throws:
//TBD
java.io.IOException

KrbApRep

  1. public KrbApRep(KrbApReq incomingReq,
  2. EncryptionKey subKey,
  3. boolean useSeqNumber)
  4. throws KrbException
  5. java.io.IOException
Throws:
java.io.IOException

KrbApRep

  1. public KrbApRep(byte[] message,
  2. Credentials tgtCreds,
  3. KrbApReq outgoingReq)
  4. throws KrbException
  5. java.io.IOException
Constructs a KRB-AP-REQ from the bytes received from a service.
Throws:
//TBD
java.io.IOException

KrbApRep

  1. public KrbApRep(com.ibm.security.util.DerValue value,
  2. Credentials tgtCreds,
  3. KrbApReq outgoingReq)
  4. throws KrbException
  5. java.io.IOException
Constructs a KRB-AP-REQ from the bytes received from a service.
Throws:
//TBD
java.io.IOException

Method Detail

getSubKey

  1. public EncryptionKey getSubKey( )
Returns the optional subkey stored in this message. Returns null if none is stored.

getSeqNumber

  1. public java.lang.Integer getSeqNumber( )
Returns the optional sequence number stored in the this message. Returns null if none is stored.

getMessage

  1. public byte[] getMessage()
Returns the ASN.1 encoding that should be sent to the peer.