All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.security.x509.EDIPartyName

netscape.security.x509.EDIPartyName

public class EDIPartyName
implements GeneralNameInterface
This class defines the EDIPartyName of the GeneralName choice. The ASN.1 syntax for this is:
 EDIPartyName ::= SEQUENCE {
     nameAssigner  [0]  DirectoryString OPTIONAL,
     partyName     [1]  DirectoryString }
 

See Also:
GeneralName, GeneralNames, GeneralNameInterface

Constructor Index

 o EDIPartyName(DerValue)
Create the EDIPartyName object from the passed encoded Der value.
 o EDIPartyName(String)
Create the EDIPartyName object from the specified name.
 o EDIPartyName(String, String)
Create the EDIPartyName object from the specified names.

Method Index

 o encode(DerOutputStream)
Encode the EDI party name into the DerOutputStream.
 o getType()
Return the type of the GeneralName.
 o toString()
Return the printable string.

Constructors

 o EDIPartyName
 public EDIPartyName(String assignerName,
                     String partyName)
Create the EDIPartyName object from the specified names.

Parameters:
assignerName - the name of the assigner
partyName - the name of the EDI party.
 o EDIPartyName
 public EDIPartyName(String partyName)
Create the EDIPartyName object from the specified name.

Parameters:
partyName - the name of the EDI party.
 o EDIPartyName
 public EDIPartyName(DerValue derValue) throws IOException
Create the EDIPartyName object from the passed encoded Der value.

Parameters:
derValue - the encoded DER EDIPartyName.
Throws: IOException
on error.

Methods

 o getType
 public int getType()
Return the type of the GeneralName.

 o encode
 public void encode(DerOutputStream out) throws IOException
Encode the EDI party name into the DerOutputStream.

Parameters:
out - the DER stream to encode the EDIPartyName to.
Throws: IOException
on encoding errors.
 o toString
 public String toString()
Return the printable string.


All Packages  Class Hierarchy  This Package  Previous  Next  Index