public class

KrbApRep

extends Object
java.lang.Object
   ↳ sun.security.krb5.KrbApRep

Class Overview

This class encapsulates a KRB-AP-REP sent from the service to the client.

Summary

Public Constructors
KrbApRep(KrbApReq incomingReq, boolean useSeqNumber, boolean useSubKey)
Constructs a KRB-AP-REP to send to a client.
KrbApRep(byte[] message, Credentials tgtCreds, KrbApReq outgoingReq)
Constructs a KRB-AP-REQ from the bytes received from a service.
Public Methods
byte[] getMessage()
Returns the ASN.1 encoding that should be sent to the peer.
Integer getSeqNumber()
Returns the optional sequence number stored in the this message.
EncryptionKey getSubKey()
Returns the optional subkey stored in this message.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public KrbApRep (KrbApReq incomingReq, boolean useSeqNumber, boolean useSubKey)

Constructs a KRB-AP-REP to send to a client.

Throws
KrbException
IOException
KrbException

public KrbApRep (byte[] message, Credentials tgtCreds, KrbApReq outgoingReq)

Constructs a KRB-AP-REQ from the bytes received from a service.

Throws
KrbException
IOException
KrbException

Public Methods

public byte[] getMessage ()

Returns the ASN.1 encoding that should be sent to the peer.

public Integer getSeqNumber ()

Returns the optional sequence number stored in the this message. Returns null if none is stored.

public EncryptionKey getSubKey ()

Returns the optional subkey stored in this message. Returns null if none is stored.