Interface X509Extension

    • Method Detail

      • getCriticalExtensionOIDs

        Set<String> getCriticalExtensionOIDs()
        Returns the set of OIDs of the extension(s) marked as CRITICAL, that this implementation manages.
        Returns:
        the set of extension OIDs marked as CRITIAL, an empty set if none are marked as CRITICAL, or null if no extensions are present.
      • getExtensionValue

        byte[] getExtensionValue​(String oid)
        Returns the extension value as DER-encoded OCTET string for the specified OID.
        Parameters:
        oid - the object identifier to get the extension value for.
        Returns:
        the extension value as DER-encoded OCTET string, or null if no extension for the specified OID can be found.
      • getNonCriticalExtensionOIDs

        Set<String> getNonCriticalExtensionOIDs()
        Returns the set of OIDs of the extension(s) marked as NON-CRITICAL, that this implementation manages.
        Returns:
        the set of extension OIDs marked as NON-CRITIAL, an empty set if none are marked as NON-.CRITICAL, or null if no extensions are present.
      • hasUnsupportedCriticalExtension

        boolean hasUnsupportedCriticalExtension()
        Returns whether this instance has an extension marked as CRITICAL that it cannot support.
        Returns:
        true if an unsupported CRITICAL extension is present, false otherwise.