public class EDIPartyName extends java.lang.Object implements GeneralNameInterface
EDIPartyName ::= SEQUENCE {
nameAssigner [0] DirectoryString OPTIONAL,
partyName [1] DirectoryString }
GeneralName,
GeneralNames,
GeneralNameInterface,
Serialized FormNAME_ANY, NAME_DIRECTORY, NAME_DNS, NAME_EDI, NAME_IP, NAME_OID, NAME_RFC822, NAME_URI, NAME_X400| Constructor and Description |
|---|
EDIPartyName(DerValue derValue)
Create the EDIPartyName object from the passed encoded Der value.
|
EDIPartyName(java.lang.String partyName)
Create the EDIPartyName object from the specified name.
|
EDIPartyName(java.lang.String assignerName,
java.lang.String partyName)
Create the EDIPartyName object from the specified names.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(DerOutputStream out)
Encode the EDI party name into the DerOutputStream.
|
int |
getType()
Return the type of the GeneralName.
|
java.lang.String |
toString()
Return the printable string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvalidSingle, validSubtreepublic EDIPartyName(java.lang.String assignerName,
java.lang.String partyName)
assignerName - the name of the assignerpartyName - the name of the EDI party.public EDIPartyName(java.lang.String partyName)
partyName - the name of the EDI party.public EDIPartyName(DerValue derValue) throws java.io.IOException
derValue - the encoded DER EDIPartyName.java.io.IOException - on error.public int getType()
getType in interface GeneralNameInterfacepublic void encode(DerOutputStream out) throws java.io.IOException
encode in interface GeneralNameInterfaceout - the DER stream to encode the EDIPartyName to.java.io.IOException - on encoding errors.public java.lang.String toString()
toString in class java.lang.Object