Class CertificatePolicyId
java.lang.Object
org.mozilla.jss.netscape.security.x509.CertificatePolicyId
- All Implemented Interfaces:
Serializable
Represent the CertificatePolicyId ASN.1 object.
- Version:
- 1.5
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate the object from its Der encoded value.Create a CertificatePolicyId with the ObjectIdentifier. -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(DerOutputStream out) Write the CertificatePolicyId to the DerOutputStream.Return the value of the CertificatePolicyId as an ObjectIdentifier.toString()
Returns a printable representation of the CertificatePolicyId.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
id
-
-
Constructor Details
-
CertificatePolicyId
Create a CertificatePolicyId with the ObjectIdentifier.- Parameters:
id
- the ObjectIdentifier for the policy id.
-
CertificatePolicyId
Create the object from its Der encoded value.- Parameters:
val
- the DER encoded value for the same.- Throws:
IOException
-
-
Method Details
-
getIdentifier
Return the value of the CertificatePolicyId as an ObjectIdentifier. -
toString
Returns a printable representation of the CertificatePolicyId. -
encode
Write the CertificatePolicyId to the DerOutputStream.- Parameters:
out
- the DerOutputStream to write the object to.- Throws:
IOException
- on errors.
-