public class Authenticator extends KrbAppSequenceType
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
}
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Authenticator.AuthenticatorField
The possible fields
|
Asn1Type.EncodingType| Modifier and Type | Field and Description |
|---|---|
static int |
TAG
The APPLICATION TAG
|
| Constructor and Description |
|---|
Authenticator()
Creates a new instance of an Authenticator
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAuthenticatorVno() |
AuthorizationData |
getAuthorizationData() |
CheckSum |
getCksum() |
PrincipalName |
getCname() |
String |
getCrealm() |
KerberosTime |
getCtime() |
int |
getCusec() |
int |
getSeqNumber() |
EncryptionKey |
getSubKey() |
void |
setAuthenticatorVno(int authenticatorVno)
Sets the Authenticator version
|
void |
setAuthorizationData(AuthorizationData authorizationData)
Sets the stored Authorization-Data
|
void |
setCksum(CheckSum cksum)
Sets the application data checksum
|
void |
setCname(PrincipalName cname)
Sets the Client Principal's name
|
void |
setCrealm(String crealm)
Sets the Client Realm
|
void |
setCtime(KerberosTime ctime)
Sets the client's host current time
|
void |
setCusec(int cusec)
Sets the The microsecond part of the client's timestamp
|
void |
setSeqNumber(Integer seqNumber)
Sets the initial sequence number
|
void |
setSubKey(EncryptionKey subKey)
Sets the client's encryption key
|
getFieldAsInt, getFieldAsTime, setField, setFieldAsString, setFieldAsTimecreateTaggedCollectiondecode, decodeBody, dumpWith, encodeBody, encodingBodyLength, getFieldAs, getFieldAsInteger, getFieldAsOctetBytes, getFieldAsOctets, getFieldAsString, isBER, isCER, isDefinitiveLength, isDER, isImplicit, isPrimitive, setFieldAs, setFieldAsInt, setFieldAsOctetBytes, setFieldAsOctets, tag, tagNo, useBER, useCER, useDefinitiveLength, useDER, useImplicit, usePrimitivegetValue, setValue, toStringdecode, decode, encode, encode, encodingHeaderLength, encodingLength, getBodyLength, getHeaderLength, taggedDecode, taggedDecode, taggedDecode, taggedEncode, taggedEncode, taggedEncodingLengthisAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isSimple, isTagSpecific, isUniversal, simpleInfo, tagFlagspublic static final int TAG
public int getAuthenticatorVno()
public void setAuthenticatorVno(int authenticatorVno)
authenticatorVno - The Authenticator version to storepublic String getCrealm()
public void setCrealm(String crealm)
crealm - The Client Realm to storepublic PrincipalName getCname()
public void setCname(PrincipalName cname)
cname - The Client Principal's name to storepublic CheckSum getCksum()
public void setCksum(CheckSum cksum)
cksum - The application data checksum to storepublic int getCusec()
public void setCusec(int cusec)
cusec - The microsecond part of the client's timestamp to storepublic KerberosTime getCtime()
public void setCtime(KerberosTime ctime)
ctime - The client's host current time to storepublic EncryptionKey getSubKey()
public void setSubKey(EncryptionKey subKey)
subKey - The client's encryption key to storepublic int getSeqNumber()
public void setSeqNumber(Integer seqNumber)
seqNumber - The initial sequence number to storepublic AuthorizationData getAuthorizationData()
public void setAuthorizationData(AuthorizationData authorizationData)
authorizationData - The Authorization-Data to storeCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.