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
-
EDIPartyName(DerValue)
- Create the EDIPartyName object from the passed encoded Der value.
-
EDIPartyName(String)
- Create the EDIPartyName object from the specified name.
-
EDIPartyName(String, String)
- Create the EDIPartyName object from the specified names.
-
encode(DerOutputStream)
- Encode the EDI party name into the DerOutputStream.
-
getType()
- Return the type of the GeneralName.
-
toString()
- Return the printable string.
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.
EDIPartyName
public EDIPartyName(String partyName)
- Create the EDIPartyName object from the specified name.
- Parameters:
- partyName - the name of the EDI party.
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.
getType
public int getType()
- Return the type of the GeneralName.
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.
toString
public String toString()
- Return the printable string.
All Packages Class Hierarchy This Package Previous Next Index