Class OIDName

    • Constructor Detail

      • OIDName

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

        public OIDName​(ObjectIdentifier oid)
        Create the OIDName object with the specified name.
        Parameters:
        oid - the OIDName.
      • OIDName

        public OIDName​(java.lang.String oid)
    • Method Detail

      • encode

        public void encode​(DerOutputStream out)
                    throws java.io.IOException
        Encode the OID name into the DerOutputStream.
        Specified by:
        encode in interface GeneralNameInterface
        Parameters:
        out - the DER stream to encode the OIDName 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