public class CertificatePolicyInfo
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CertificatePolicyInfo(CertificatePolicyId id)
Create a CertificatePolicyInfo with the passed CertificatePolicyId's.
|
CertificatePolicyInfo(CertificatePolicyId id,
PolicyQualifiers qualifiers) |
CertificatePolicyInfo(DerValue val)
Create the CertificatePolicyInfo from the DER encoded value.
|
Modifier and Type | Method and Description |
---|---|
void |
encode(DerOutputStream out)
Write the CertificatePolicyInfo to the DerOutputStream.
|
CertificatePolicyId |
getPolicyIdentifier()
return the policy identifier of the policy info
|
PolicyQualifiers |
getPolicyQualifiers() |
java.lang.String |
toString()
Returns a printable representation of the CertificatePolicyId.
|
public CertificatePolicyInfo(CertificatePolicyId id)
id
- the CertificatePolicyId.public CertificatePolicyInfo(CertificatePolicyId id, PolicyQualifiers qualifiers)
public CertificatePolicyInfo(DerValue val) throws java.io.IOException
val
- the DER encoded value of the same.java.io.IOException
public CertificatePolicyId getPolicyIdentifier()
public PolicyQualifiers getPolicyQualifiers()
public java.lang.String toString()
toString
in class java.lang.Object
public void encode(DerOutputStream out) throws java.io.IOException
out
- the DerOutputStream to write the object to.java.io.IOException
- on errors.