Interface GeneralNameInterface

    • Method Detail

      • getType

        int getType()
        Return the type of the general name, as defined above.
      • encode

        void encode​(DerOutputStream out)
             throws java.io.IOException
        Encode the name to the specified DerOutputStream.
        Parameters:
        out - the DerOutputStream to encode the GeneralName to.
        Throws:
        java.io.IOException - thrown if the GeneralName could not be encoded.
      • validSingle

        default boolean validSingle()
        Whether the name is valid as a single name (e.g. for use in Subject Alternative Name extension).
      • validSubtree

        default boolean validSubtree()
        Whether the name is valid as a subtree name (e.g. for use in Name Constraints extension)