Interface Extension

    • Method Detail

      • getId

        String getId()
        Returns the OID (Object Identifier) for this extension encoded as a string (e.g., "2.5.29.15").
      • isCritical

        boolean isCritical()
        Returns true if this extension is critical. If this is true and an implementation does not understand this extension, it must reject it. See RFC 3280 section 4.2 for more information.
      • getValue

        byte[] getValue()
        The DER-encoded value of this extension.
      • encode

        void encode​(OutputStream out)
             throws IOException
        Writes the DER-encoded extension to out.
        Throws:
        IOException - when there is an encoding error or error writing to out