public class ExtendedExtension extends Extension
| Constructor and Description |
|---|
ExtendedExtension(OID extnType,
boolean critical,
byte[] extnValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsExtnValue(byte[] value) |
int |
getEncodedLength() |
static int |
getEncodedLength(OID extnType,
boolean critical,
int extnValueLength) |
OID |
getExtnType() |
int |
getExtnValueLength() |
InputStream |
getExtnValueStream() |
static ExtendedExtension |
getInstance(byte[] encoded,
int from,
int len) |
boolean |
isCritical() |
ExtendedExtension |
revertCritical() |
int |
write(byte[] out,
int offset) |
int |
writeExtnValue(byte[] out,
int offset) |
arraycopy, getHeaderLen, getLen, writeGeneralizedTime, writeHeaderpublic ExtendedExtension(OID extnType, boolean critical, byte[] extnValue)
public static ExtendedExtension getInstance(byte[] encoded, int from, int len) throws EncodingException
EncodingExceptionpublic int getEncodedLength()
getEncodedLength in class ASN1Typepublic static int getEncodedLength(OID extnType, boolean critical, int extnValueLength)
public boolean isCritical()
public OID getExtnType()
public int getExtnValueLength()
public InputStream getExtnValueStream()
public boolean equalsExtnValue(byte[] value)
public int writeExtnValue(byte[] out,
int offset)
public ExtendedExtension revertCritical()
Copyright © 2023. All rights reserved.