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 ObjectIdentifier
private Qualifier
static final int[]
static final int[]
static final ObjectIdentifier
static final ObjectIdentifier
private 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 TypeMethodDescriptionvoid
encode
(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.
-