Class EDIPartyName

    • Constructor Detail

      • EDIPartyName

        public EDIPartyName​(java.lang.String assignerName,
                            java.lang.String partyName)
        Create the EDIPartyName object from the specified names.
        Parameters:
        assignerName - the name of the assigner
        partyName - the name of the EDI party.
      • EDIPartyName

        public EDIPartyName​(java.lang.String partyName)
        Create the EDIPartyName object from the specified name.
        Parameters:
        partyName - the name of the EDI party.
      • EDIPartyName

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

      • encode

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

        public java.lang.String toString()
        Return the printable string.
        Overrides:
        toString in class java.lang.Object