Class X509CertificateExtension

    • Constructor Detail

      • X509CertificateExtension

        protected X509CertificateExtension​(boolean critical)
        Construct a new instance.
        Parameters:
        critical - true if this extension is to be marked critical, false otherwise
    • Method Detail

      • getId

        public abstract String getId()
        Get the OID of this extension.
        Specified by:
        getId in interface Extension
        Returns:
        the OID of this extension (must not be null)
      • isCritical

        public final boolean isCritical()
        Determine whether this object represents a critical extension (as defined by RFC 5280).
        Specified by:
        isCritical in interface Extension
        Returns:
        true if the extension is critical, false otherwise
      • getValue

        public byte[] getValue()
        Specified by:
        getValue in interface Extension