public class

KrbApRep

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

Class Overview

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

Summary

Fields
private APRep apRepMessg
private EncAPRepPart encPart
private byte[] ibuf
private Config kerberosConfig
private byte[] obuf
Public Constructors
KrbApRep(KrbApReq incomingReq, boolean useSeqNumber, boolean useSubKey, Config kerberosConfig)
Constructs a KRB-AP-REP to send to a client.
KrbApRep(byte[] message, Credentials tgtCreds, KrbApReq outgoingReq, Config kerberosConfig)
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

Fields

private APRep apRepMessg

private EncAPRepPart encPart

private byte[] ibuf

private Config kerberosConfig

private byte[] obuf

Public Constructors

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

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

Parameters
incomingReq
useSeqNumber
useSubKey
kerberosConfig
Throws
IOException
KrbException

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

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

Parameters
message
tgtCreds
outgoingReq
kerberosConfig
Throws
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.