public class

EncKDCRepPart

extends Object
java.lang.Object
   ↳ sun.security.mule.krb5.internal.EncKDCRepPart
Known Direct Subclasses

Class Overview

Implements the ASN.1 EncKDCRepPart type.

EncKDCRepPart ::= SEQUENCE { key [0] EncryptionKey, last-req [1] LastReq, nonce [2] UInt32, key-expiration [3] KerberosTime OPTIONAL, flags [4] TicketFlags, authtime [5] KerberosTime, starttime [6] KerberosTime OPTIONAL, endtime [7] KerberosTime, renew-till [8] KerberosTime OPTIONAL, srealm [9] Realm, sname [10] PrincipalName, caddr [11] HostAddresses OPTIONAL }

This definition reflects the Network Working Group RFC 4120 specification available at http://www.ietf.org/rfc/rfc4120.txt.

Summary

Fields
public KerberosTime authtime
public HostAddresses caddr
public KerberosTime endtime
public TicketFlags flags
private Config kerberosConfig
public EncryptionKey key
public KerberosTime keyExpiration
public LastReq lastReq
public int msgType
public int nonce
public KerberosTime renewTill
public PrincipalName sname
public Realm srealm
public KerberosTime starttime
Public Constructors
EncKDCRepPart(EncryptionKey new_key, LastReq new_lastReq, int new_nonce, KerberosTime new_keyExpiration, TicketFlags new_flags, KerberosTime new_authtime, KerberosTime new_starttime, KerberosTime new_endtime, KerberosTime new_renewTill, Realm new_srealm, PrincipalName new_sname, HostAddresses new_caddr, int new_msgType, Config kerberosConfig)
EncKDCRepPart(Config kerberosConfig)
EncKDCRepPart(byte[] data, int rep_type, Config kerberosConfig)
EncKDCRepPart(DerValue encoding, int rep_type, Config kerberosConfig)
Public Methods
byte[] asn1Encode(int rep_type)
Encodes an EncKDCRepPart object.
Protected Methods
void init(DerValue encoding, int rep_type)
Initializes an EncKDCRepPart object.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public KerberosTime authtime

public HostAddresses caddr

public KerberosTime endtime

public TicketFlags flags

private Config kerberosConfig

public EncryptionKey key

public KerberosTime keyExpiration

public LastReq lastReq

public int msgType

public int nonce

public KerberosTime renewTill

public PrincipalName sname

public Realm srealm

public KerberosTime starttime

Public Constructors

public EncKDCRepPart (EncryptionKey new_key, LastReq new_lastReq, int new_nonce, KerberosTime new_keyExpiration, TicketFlags new_flags, KerberosTime new_authtime, KerberosTime new_starttime, KerberosTime new_endtime, KerberosTime new_renewTill, Realm new_srealm, PrincipalName new_sname, HostAddresses new_caddr, int new_msgType, Config kerberosConfig)

Parameters
new_key
new_lastReq
new_nonce
new_keyExpiration
new_flags
new_authtime
new_starttime
new_endtime
new_renewTill
new_srealm
new_sname
new_caddr
new_msgType
kerberosConfig

public EncKDCRepPart (Config kerberosConfig)

Parameters
kerberosConfig

public EncKDCRepPart (byte[] data, int rep_type, Config kerberosConfig)

Parameters
data
rep_type
kerberosConfig
Throws
Asn1Exception
IOException
RealmException

public EncKDCRepPart (DerValue encoding, int rep_type, Config kerberosConfig)

Parameters
encoding
rep_type
kerberosConfig
Throws
Asn1Exception
IOException
RealmException

Public Methods

public byte[] asn1Encode (int rep_type)

Encodes an EncKDCRepPart object.

Parameters
rep_type Type of encrypted reply message.
Returns
  • byte array of encoded EncKDCRepPart object.
Throws
Asn1Exception if an error occurs while decoding an ASN1 encoded data.
IOException if an I/O error occurs while reading encoded data.

Protected Methods

protected void init (DerValue encoding, int rep_type)

Initializes an EncKDCRepPart object.

Parameters
encoding A single DER-encoded value.
rep_type Type of the encrypted reply message.
Throws
Asn1Exception if an error occurs while decoding an ASN1 encoded data.
IOException if an I/O error occurs while reading encoded data.
RealmException if an error occurs while decoding an Realm object.