com.ibm.security.krb5.internal

Class Authenticator

  1. java.lang.Object
  2. extended bycom.ibm.security.krb5.internal.Authenticator

  1. public class Authenticator
  2. extends java.lang.Object
Implements the ASN.1 Authenticator type. Authenticator ::= [APPLICATION 2] SEQUENCE { authenticator-vno[0] INTEGER, crealm[1] Realm, cname[2] PrincipalName, cksum[3] Checksum OPTIONAL, cusec[4] INTEGER, ctime[5] KerberosTime, subkey[6] EncryptionKey OPTIONAL, seq-number[7] INTEGER OPTIONAL, authorization-data[8] AuthorizationData OPTIONAL }

This definition reflects the Network Working Group RFC 1510 specifications dated September 1993 and available at http://www.ietf.org/rfc/rfc1510.txt.


Constructor Summary

Constructor and Description
Authenticator(byte[] data)
Authenticator(com.ibm.security.util.DerValue encoding)
Authenticator(Realm new_crealm,PrincipalName new_cname,Checksum new_cksum,int new_cusec,KerberosTime new_ctime,EncryptionKey new_subKey,java.lang.Integer new_seqNumber,AuthorizationData new_authorizationData)

Method Summary

Modifier and Type Method and Description
  1. byte[]
asn1Encode()
Encodes an Authenticator object.
  1. AuthorizationData
getAuthzData()
  1. Checksum
getChecksum()
  1. PrincipalName
getClient()
  1. int
getMicroSeconds()
  1. Realm
getRealm()
  1. java.lang.Integer
getSeqNumber()
  1. int
getSequenceNumber()
  1. EncryptionKey
getSubKey()
  1. EncryptionKey
getSubsesionKey()
  1. KerberosTime
getTime()
  1. int
getVersionNumber()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Authenticator

  1. public Authenticator(Realm new_crealm,
  2. PrincipalName new_cname,
  3. Checksum new_cksum,
  4. int new_cusec,
  5. KerberosTime new_ctime,
  6. EncryptionKey new_subKey,
  7. java.lang.Integer new_seqNumber,
  8. AuthorizationData new_authorizationData)

Authenticator

  1. public Authenticator(byte[] data)
  2. throws Asn1Exception
  3. java.io.IOException
  4. KrbApErrException
  5. RealmException
Throws:
java.io.IOException

Authenticator

  1. public Authenticator(com.ibm.security.util.DerValue encoding)
  2. throws Asn1Exception
  3. java.io.IOException
  4. KrbApErrException
  5. RealmException
Throws:
java.io.IOException

Method Detail

asn1Encode

  1. public byte[] asn1Encode()
  2. throws Asn1Exception
  3. java.io.IOException
Encodes an Authenticator object.
Returns:
byte array of encoded Authenticator object.
Throws:
Asn1Exception - if an error occurs while decoding an ASN1 encoded data.
java.io.IOException - if an I/O error occurs while reading encoded data.

getChecksum

  1. public final Checksum getChecksum( )

getSeqNumber

  1. public final java.lang.Integer getSeqNumber( )

getSubKey

  1. public final EncryptionKey getSubKey( )

getVersionNumber

  1. public int getVersionNumber()

getRealm

  1. public Realm getRealm()

getClient

  1. public PrincipalName getClient( )

getMicroSeconds

  1. public int getMicroSeconds()

getTime

  1. public KerberosTime getTime()

getSubsesionKey

  1. public EncryptionKey getSubsesionKey( )

getSequenceNumber

  1. public int getSequenceNumber()

getAuthzData

  1. public AuthorizationData getAuthzData( )