Class CertificatePolicyInfo
- java.lang.Object
-
- org.mozilla.jss.netscape.security.x509.CertificatePolicyInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class CertificatePolicyInfo extends java.lang.Object implements java.io.SerializableRepresent the CertificatePolicyInformation ASN.1 object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CertificatePolicyInfo(DerValue val)Create the CertificatePolicyInfo from the DER encoded value.CertificatePolicyInfo(CertificatePolicyId id)Create a CertificatePolicyInfo with the passed CertificatePolicyId's.CertificatePolicyInfo(CertificatePolicyId id, PolicyQualifiers qualifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(DerOutputStream out)Write the CertificatePolicyInfo to the DerOutputStream.CertificatePolicyIdgetPolicyIdentifier()return the policy identifier of the policy infoPolicyQualifiersgetPolicyQualifiers()java.lang.StringtoString()Returns a printable representation of the CertificatePolicyId.
-
-
-
Constructor Detail
-
CertificatePolicyInfo
public CertificatePolicyInfo(CertificatePolicyId id)
Create a CertificatePolicyInfo with the passed CertificatePolicyId's.- Parameters:
id- the CertificatePolicyId.
-
CertificatePolicyInfo
public CertificatePolicyInfo(CertificatePolicyId id, PolicyQualifiers qualifiers)
-
CertificatePolicyInfo
public CertificatePolicyInfo(DerValue val) throws java.io.IOException
Create the CertificatePolicyInfo from the DER encoded value.- Parameters:
val- the DER encoded value of the same.- Throws:
java.io.IOException
-
-
Method Detail
-
getPolicyIdentifier
public CertificatePolicyId getPolicyIdentifier()
return the policy identifier of the policy info
-
getPolicyQualifiers
public PolicyQualifiers getPolicyQualifiers()
-
toString
public java.lang.String toString()
Returns a printable representation of the CertificatePolicyId.- Overrides:
toStringin classjava.lang.Object
-
encode
public void encode(DerOutputStream out) throws java.io.IOException
Write the CertificatePolicyInfo to the DerOutputStream.- Parameters:
out- the DerOutputStream to write the object to.- Throws:
java.io.IOException- on errors.
-
-