Class URIName

    • Constructor Detail

      • URIName

        public URIName​(DerValue derValue)
                throws java.io.IOException
        Create the URIName object from the passed encoded Der value.
        Parameters:
        derValue - the encoded DER URIName.
        Throws:
        java.io.IOException - on error.
      • URIName

        public URIName​(java.lang.String name)
        Create the URIName object with the specified name.
        Parameters:
        name - the URIName.
    • Method Detail

      • encode

        public void encode​(DerOutputStream out)
                    throws java.io.IOException
        Encode the URI name into the DerOutputStream.
        Specified by:
        encode in interface GeneralNameInterface
        Parameters:
        out - the DER stream to encode the URIName to.
        Throws:
        java.io.IOException - on encoding errors.
      • toString

        public java.lang.String toString()
        Convert the name into user readable string.
        Overrides:
        toString in class java.lang.Object