public class PolicyQualifierInfo
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static int[] |
OID_CPS |
static int[] |
OID_UNOTICE |
static ObjectIdentifier |
QT_CPS |
static ObjectIdentifier |
QT_UNOTICE |
| Constructor and Description |
|---|
PolicyQualifierInfo(DerValue val)
Create the object from its Der encoded value.
|
PolicyQualifierInfo(ObjectIdentifier id,
Qualifier qualifier)
Create a PolicyQualifierInfo
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(DerOutputStream out)
Write the PolicyQualifier to the DerOutputStream.
|
ObjectIdentifier |
getId() |
Qualifier |
getQualifier()
Returns object of type CPSuri or UserNotice.
|
java.lang.String |
toString()
Returns a printable representation of the CertificatePolicyId.
|
public static final int[] OID_CPS
public static final ObjectIdentifier QT_CPS
public static final int[] OID_UNOTICE
public static final ObjectIdentifier QT_UNOTICE
public PolicyQualifierInfo(ObjectIdentifier id, Qualifier qualifier)
id - the ObjectIdentifier for the policy id.public PolicyQualifierInfo(DerValue val) throws java.io.IOException
val - the DER encoded value for the same.java.io.IOExceptionpublic ObjectIdentifier getId()
public Qualifier getQualifier()
public java.lang.String toString()
toString in class java.lang.Objectpublic void encode(DerOutputStream out) throws java.io.IOException
out - the DerOutputStream to write the object to.java.io.IOException - on errors.