public class ApReq extends KrbMessage
AP-REQ ::= [APPLICATION 14] SEQUENCE {
pvno [0] INTEGER (5),
msg-type [1] INTEGER (14),
ap-options [2] APOptions,
ticket [3] Ticket,
authenticator [4] EncryptedData -- Authenticator
}
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ApReq.ApReqField
The possible fields
|
KrbMessage.KrbMessageFieldAsn1Type.EncodingType| Constructor and Description |
|---|
ApReq()
Creates a new instance of a AP-REQ message
|
| Modifier and Type | Method and Description |
|---|---|
ApOptions |
getApOptions() |
Authenticator |
getAuthenticator() |
EncryptedData |
getEncryptedAuthenticator() |
Ticket |
getTicket() |
void |
setApOptions(ApOptions apOptions)
Stores the AP-OPTIONS in the message
|
void |
setAuthenticator(Authenticator authenticator)
Stores the decrypted Authenticator
|
void |
setEncryptedAuthenticator(EncryptedData encryptedAuthenticator)
Stores the encrypted authenticator in the message
|
void |
setTicket(Ticket ticket)
Stores the ticket in the message
|
getMsgType, getPvno, setMsgType, setPvnogetFieldAsInt, 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 ApOptions getApOptions()
public void setApOptions(ApOptions apOptions)
apOptions - The AP-OPTIPNS to setpublic Ticket getTicket()
public void setTicket(Ticket ticket)
ticket - The ticketpublic Authenticator getAuthenticator()
public void setAuthenticator(Authenticator authenticator)
authenticator - the decrypted Authenticatorpublic EncryptedData getEncryptedAuthenticator()
public void setEncryptedAuthenticator(EncryptedData encryptedAuthenticator)
encryptedAuthenticator - The encrypted authenticatorCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.