public class AuthorizationDataEntry extends KrbSequenceType
AuthorizationData ::= SEQUENCE {
ad-type [0] Int32,
ad-data [1] OCTET STRING
}
We just implement what is in the SEQUENCE OF.| Modifier and Type | Class and Description |
|---|---|
protected static class |
AuthorizationDataEntry.AuthorizationDataEntryField
The possible fields
|
| Constructor and Description |
|---|
AuthorizationDataEntry()
Creates an AuthorizationDataEntry instance
|
AuthorizationDataEntry(AuthorizationType type)
Creates an AuthorizationDataEntry instance
|
AuthorizationDataEntry(AuthorizationType type,
byte[] authzData)
Creates an AuthorizationDataEntry instance
|
| Modifier and Type | Method and Description |
|---|---|
AuthorizationDataEntry |
clone() |
byte[] |
getAuthzData() |
<T extends org.apache.kerby.asn1.type.Asn1Type> |
getAuthzDataAs(Class<T> type) |
AuthorizationType |
getAuthzType() |
void |
setAuthzData(byte[] authzData)
Sets the AuthorizationData (AD_DATA) field
|
void |
setAuthzType(AuthorizationType authzType)
Sets the AuthorizationType (AD_TYPE) field
|
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 AuthorizationDataEntry()
public AuthorizationDataEntry(AuthorizationType type)
type - The authorization typepublic AuthorizationDataEntry(AuthorizationType type, byte[] authzData)
type - The authorization typeauthzData - The authorization datapublic AuthorizationType getAuthzType()
public void setAuthzType(AuthorizationType authzType)
authzType - The AuthorizationType to setpublic byte[] getAuthzData()
public void setAuthzData(byte[] authzData)
authzData - The AuthorizationData to setpublic <T extends org.apache.kerby.asn1.type.Asn1Type> T getAuthzDataAs(Class<T> type)
T - type The typepublic AuthorizationDataEntry clone()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.