Class PolicyQualifierInfo
- java.lang.Object
-
- org.mozilla.jss.netscape.security.x509.PolicyQualifierInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class PolicyQualifierInfo extends java.lang.Object implements java.io.Serializable
Represent the PolicyQualifierInfo. policyQualifierInfo ::= SEQUENCE { policyQualifierId PolicyQualifierId qualifier ANY DEFINED BY policyQualifierId }- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int[]
OID_CPS
static int[]
OID_UNOTICE
static ObjectIdentifier
QT_CPS
static ObjectIdentifier
QT_UNOTICE
-
Constructor Summary
Constructors Constructor Description PolicyQualifierInfo(DerValue val)
Create the object from its Der encoded value.PolicyQualifierInfo(ObjectIdentifier id, Qualifier qualifier)
Create a PolicyQualifierInfo
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
OID_CPS
public static final int[] OID_CPS
-
QT_CPS
public static final ObjectIdentifier QT_CPS
-
OID_UNOTICE
public static final int[] OID_UNOTICE
-
QT_UNOTICE
public static final ObjectIdentifier QT_UNOTICE
-
-
Constructor Detail
-
PolicyQualifierInfo
public PolicyQualifierInfo(ObjectIdentifier id, Qualifier qualifier)
Create a PolicyQualifierInfo- Parameters:
id
- the ObjectIdentifier for the policy id.
-
PolicyQualifierInfo
public PolicyQualifierInfo(DerValue val) throws java.io.IOException
Create the object from its Der encoded value.- Parameters:
val
- the DER encoded value for the same.- Throws:
java.io.IOException
-
-
Method Detail
-
getId
public ObjectIdentifier getId()
-
getQualifier
public Qualifier getQualifier()
Returns object of type CPSuri or UserNotice.
-
toString
public java.lang.String toString()
Returns a printable representation of the CertificatePolicyId.- Overrides:
toString
in classjava.lang.Object
-
encode
public void encode(DerOutputStream out) throws java.io.IOException
Write the PolicyQualifier to the DerOutputStream.- Parameters:
out
- the DerOutputStream to write the object to.- Throws:
java.io.IOException
- on errors.
-
-