public interface X509Extension
Modifier and Type | Method and Description |
---|---|
Set<String> |
getCriticalExtensionOIDs()
Returns the set of OIDs of the extension(s) marked as CRITICAL, that this
implementation manages.
|
byte[] |
getExtensionValue(String oid)
Returns the extension value as DER-encoded OCTET string for the specified
OID.
|
Set<String> |
getNonCriticalExtensionOIDs()
Returns the set of OIDs of the extension(s) marked as NON-CRITICAL, that
this implementation manages.
|
boolean |
hasUnsupportedCriticalExtension()
Returns whether this instance has an extension marked as CRITICAL that it
cannot support.
|
Set<String> getCriticalExtensionOIDs()
null
if no extensions are
present.byte[] getExtensionValue(String oid)
oid
- the object identifier to get the extension value for.null
if no extension for the specified OID can be found.Set<String> getNonCriticalExtensionOIDs()
null
if no
extensions are present.boolean hasUnsupportedCriticalExtension()
true
if an unsupported CRITICAL extension is present,
false
otherwise.