public class Extension extends Asn1SequenceType
Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension
Extension ::= SEQUENCE {
extnId EXTENSION.&id ({ExtensionSet}),
critical BOOLEAN DEFAULT FALSE,
extnValue OCTET STRING }
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Extension.ExtensionField |
Asn1Type.EncodingTypebodyLength, outerEncodeable| Constructor and Description |
|---|
Extension() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCritical() |
Asn1ObjectIdentifier |
getExtnId() |
byte[] |
getExtnValue() |
void |
setCritical(boolean critical) |
void |
setExtnId(Asn1ObjectIdentifier extnId) |
void |
setExtnValue(byte[] value) |
createCollectiondecodeBody, 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 Asn1ObjectIdentifier getExtnId()
public void setExtnId(Asn1ObjectIdentifier extnId)
public boolean getCritical()
public void setCritical(boolean critical)
public byte[] getExtnValue()
public void setExtnValue(byte[] value)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.