public class PaDataEntry extends KrbSequenceType
PA-DATA ::= SEQUENCE {
-- NOTE: first tag is [1], not [0]
padata-type [1] Int32,
padata-value [2] OCTET STRING -- might be encoded AP-REQ
}
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PaDataEntry.PaDataEntryField
The possible fields
|
| Constructor and Description |
|---|
PaDataEntry()
Creates an empty PaDataEntry instance
|
PaDataEntry(PaDataType type,
byte[] paData)
Creates a PaDataEntry instance with a type and a value
|
| Modifier and Type | Method and Description |
|---|---|
PaDataType |
getPaDataType() |
byte[] |
getPaDataValue() |
void |
setPaDataType(PaDataType paDataType)
Sets a
PaDataType in this instance |
void |
setPaDataValue(byte[] paDataValue)
Sets some data in this instance
|
getFieldAsInt, getFieldAsTime, setField, setFieldAsString, setFieldAsTimedecodeBody, dumpWith, encodeBody, encodingBodyLength, getFieldAs, getFieldAsAny, getFieldAsInteger, getFieldAsObjId, getFieldAsOctets, getFieldAsString, setAnyFieldValueType, setFieldAs, setFieldAsAny, setFieldAsInt, setFieldAsInt, setFieldAsObjId, setFieldAsOctetsgetValue, setValue, toStringdecode, decode, decode, encode, encode, encodingHeaderLength, encodingLength, getBodyLength, getHeaderLength, isBER, isCER, isDefinitiveLength, isDER, isImplicit, isPrimitive, resetBodyLength, taggedDecode, taggedDecode, taggedDecode, taggedEncode, taggedEncode, taggedEncodingLength, useBER, useCER, useDefinitiveLength, useDER, useImplicit, usePrimitiveisAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isSimple, isTagSpecific, isUniversal, simpleInfo, tag, tagFlags, tagNopublic PaDataEntry()
public PaDataEntry(PaDataType type, byte[] paData)
type - the PaDataType to usepaData - the data to storepublic PaDataType getPaDataType()
PaDataType for this instancepublic void setPaDataType(PaDataType paDataType)
PaDataType in this instancepaDataType - The PaDataType type to storepublic byte[] getPaDataValue()
public void setPaDataValue(byte[] paDataValue)
paDataValue - The data to storeCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.