public class

Authenticator

extends Object
java.lang.Object
   ↳ sun.security.mule.krb5.internal.Authenticator

Class Overview

Implements the ASN.1 Authenticator type.

Authenticator ::= [APPLICATION 2] SEQUENCE { authenticator-vno [0] INTEGER (5), crealm [1] Realm, cname [2] PrincipalName, cksum [3] Checksum OPTIONAL, cusec [4] Microseconds, ctime [5] KerberosTime, subkey [6] EncryptionKey OPTIONAL, seq-number [7] UInt32 OPTIONAL, authorization-data [8] AuthorizationData OPTIONAL }

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

Summary

Fields
public int authenticator_vno
public AuthorizationData authorizationData
Checksum cksum
public PrincipalName cname
public Realm crealm
public KerberosTime ctime
public int cusec
private Config kerberosConfig
Integer seqNumber
EncryptionKey subKey
Public Constructors
Authenticator(Realm new_crealm, PrincipalName new_cname, Checksum new_cksum, int new_cusec, KerberosTime new_ctime, EncryptionKey new_subKey, Integer new_seqNumber, AuthorizationData new_authorizationData, Config kerberosConfig)
Authenticator(byte[] data, Config kerberosConfig)
Authenticator(DerValue encoding, Config kerberosConfig)
Public Methods
byte[] asn1Encode()
Encodes an Authenticator object.
final Checksum getChecksum()
final Integer getSeqNumber()
final EncryptionKey getSubKey()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public int authenticator_vno

public AuthorizationData authorizationData

Checksum cksum

public PrincipalName cname

public Realm crealm

public KerberosTime ctime

public int cusec

private Config kerberosConfig

Integer seqNumber

EncryptionKey subKey

Public Constructors

public Authenticator (Realm new_crealm, PrincipalName new_cname, Checksum new_cksum, int new_cusec, KerberosTime new_ctime, EncryptionKey new_subKey, Integer new_seqNumber, AuthorizationData new_authorizationData, Config kerberosConfig)

Parameters
new_crealm
new_cname
new_cksum
new_cusec
new_ctime
new_subKey
new_seqNumber
new_authorizationData
kerberosConfig

public Authenticator (byte[] data, Config kerberosConfig)

Parameters
data
kerberosConfig

public Authenticator (DerValue encoding, Config kerberosConfig)

Parameters
encoding
kerberosConfig

Public Methods

public byte[] asn1Encode ()

Encodes an Authenticator object.

Returns
  • byte array of encoded Authenticator object.
Throws
Asn1Exception if an error occurs while decoding an ASN1 encoded data.
IOException if an I/O error occurs while reading encoded data.

public final Checksum getChecksum ()

public final Integer getSeqNumber ()

public final EncryptionKey getSubKey ()