Class CertificatePolicyInfo
java.lang.Object
org.mozilla.jss.netscape.security.x509.CertificatePolicyInfo
- All Implemented Interfaces:
Serializable
Represent the CertificatePolicyInformation ASN.1 object.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CertificatePolicyId
private PolicyQualifiers
private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionCreate the CertificatePolicyInfo from the DER encoded value.Create a CertificatePolicyInfo with the passed CertificatePolicyId's.CertificatePolicyInfo
(CertificatePolicyId id, PolicyQualifiers qualifiers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(DerOutputStream out) Write the CertificatePolicyInfo to the DerOutputStream.return the policy identifier of the policy infotoString()
Returns a printable representation of the CertificatePolicyId.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
mPolicyIdentifier
-
mPolicyQualifiers
-
-
Constructor Details
-
CertificatePolicyInfo
Create a CertificatePolicyInfo with the passed CertificatePolicyId's.- Parameters:
id
- the CertificatePolicyId.
-
CertificatePolicyInfo
-
CertificatePolicyInfo
Create the CertificatePolicyInfo from the DER encoded value.- Parameters:
val
- the DER encoded value of the same.- Throws:
IOException
-
-
Method Details
-
getPolicyIdentifier
return the policy identifier of the policy info -
getPolicyQualifiers
-
toString
Returns a printable representation of the CertificatePolicyId. -
encode
Write the CertificatePolicyInfo to the DerOutputStream.- Parameters:
out
- the DerOutputStream to write the object to.- Throws:
IOException
- on errors.
-