Class RFC822Name

    • Constructor Detail

      • RFC822Name

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

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

      • encode

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