All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.security.x509.CertificatePolicyMap

netscape.security.x509.CertificatePolicyMap

public class CertificatePolicyMap
Represent the CertificatePolicyMap ASN.1 object.


Constructor Index

 o CertificatePolicyMap(CertificatePolicyId, CertificatePolicyId)
Create a CertificatePolicyMap with the passed CertificatePolicyId's.
 o CertificatePolicyMap(DerValue)
Create the CertificatePolicyMap from the DER encoded value.

Method Index

 o encode(DerOutputStream)
Write the CertificatePolicyMap to the DerOutputStream.
 o getIssuerIdentifier()
Return the issuer CA part of the policy map.
 o getSubjectIdentifier()
Return the subject CA part of the policy map.
 o toString()
Returns a printable representation of the CertificatePolicyId.

Constructors

 o CertificatePolicyMap
 public CertificatePolicyMap(CertificatePolicyId issuer,
                             CertificatePolicyId subject)
Create a CertificatePolicyMap with the passed CertificatePolicyId's.

Parameters:
issuer - the CertificatePolicyId for the issuer CA.
subject - the CertificatePolicyId for the subject CA.
 o CertificatePolicyMap
 public CertificatePolicyMap(DerValue val) throws IOException
Create the CertificatePolicyMap from the DER encoded value.

Parameters:
val - the DER encoded value of the same.

Methods

 o getIssuerIdentifier
 public CertificatePolicyId getIssuerIdentifier()
Return the issuer CA part of the policy map.

 o getSubjectIdentifier
 public CertificatePolicyId getSubjectIdentifier()
Return the subject CA part of the policy map.

 o toString
 public String toString()
Returns a printable representation of the CertificatePolicyId.

 o encode
 public void encode(DerOutputStream out) throws IOException
Write the CertificatePolicyMap to the DerOutputStream.

Parameters:
out - the DerOutputStream to write the object to.
Throws: IOException
on errors.

All Packages  Class Hierarchy  This Package  Previous  Next  Index