All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.security.x509.CertificatePolicyId

netscape.security.x509.CertificatePolicyId

public class CertificatePolicyId
Represent the CertificatePolicyId ASN.1 object.


Constructor Index

 o CertificatePolicyId(DerValue)
Create the object from its Der encoded value.
 o CertificatePolicyId(ObjectIdentifier)
Create a CertificatePolicyId with the ObjectIdentifier.

Method Index

 o encode(DerOutputStream)
Write the CertificatePolicyId to the DerOutputStream.
 o getIdentifier()
Return the value of the CertificatePolicyId as an ObjectIdentifier.
 o toString()
Returns a printable representation of the CertificatePolicyId.

Constructors

 o CertificatePolicyId
 public CertificatePolicyId(ObjectIdentifier id)
Create a CertificatePolicyId with the ObjectIdentifier.

Parameters:
id - the ObjectIdentifier for the policy id.
 o CertificatePolicyId
 public CertificatePolicyId(DerValue val) throws IOException
Create the object from its Der encoded value.

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

Methods

 o getIdentifier
 public ObjectIdentifier getIdentifier()
Return the value of the CertificatePolicyId as an ObjectIdentifier.

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

 o encode
 public void encode(DerOutputStream out) throws IOException
Write the CertificatePolicyId 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