Class PolicyQualifierInfo
java.lang.Object
org.mozilla.jss.netscape.security.x509.PolicyQualifierInfo
- All Implemented Interfaces:
Serializable
Represent the PolicyQualifierInfo.
policyQualifierInfo ::= SEQUENCE {
policyQualifierId PolicyQualifierId
qualifier ANY DEFINED BY policyQualifierId
}
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ObjectIdentifierprivate Qualifierstatic final int[]static final int[]static final ObjectIdentifierstatic final ObjectIdentifierprivate static final long -
Constructor Summary
ConstructorsConstructorDescriptionCreate the object from its Der encoded value.PolicyQualifierInfo(ObjectIdentifier id, Qualifier qualifier) Create a PolicyQualifierInfo -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(DerOutputStream out) Write the PolicyQualifier to the DerOutputStream.getId()Returns object of type CPSuri or UserNotice.toString()Returns a printable representation of the CertificatePolicyId.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
OID_CPS
public static final int[] OID_CPS -
QT_CPS
-
OID_UNOTICE
public static final int[] OID_UNOTICE -
QT_UNOTICE
-
mId
-
mQualifier
-
-
Constructor Details
-
PolicyQualifierInfo
Create a PolicyQualifierInfo- Parameters:
id- the ObjectIdentifier for the policy id.
-
PolicyQualifierInfo
Create the object from its Der encoded value.- Parameters:
val- the DER encoded value for the same.- Throws:
IOException
-
-
Method Details
-
getId
-
getQualifier
Returns object of type CPSuri or UserNotice. -
toString
Returns a printable representation of the CertificatePolicyId. -
encode
Write the PolicyQualifier to the DerOutputStream.- Parameters:
out- the DerOutputStream to write the object to.- Throws:
IOException- on errors.
-