be.cardon.asn1.x509
Class PolicyInformation
java.lang.Object
org.bouncycastle.asn1.ASN1Encodable
be.cardon.asn1.x509.PolicyInformation
- All Implemented Interfaces:
- org.bouncycastle.asn1.DEREncodable
public class PolicyInformation
- extends org.bouncycastle.asn1.ASN1Encodable
Implements the PolicyInformation
ASN.1 definition from RFC 3280.
PolicyInformation ::= SEQUENCE {
policyIdentifier CertPolicyId,
policyQualifiers SEQUENCE SIZE (1..MAX) OF
PolicyQualifierInfo OPTIONAL }
CertPolicyId ::= OBJECT IDENTIFIER
PolicyQualifierInfo ::= SEQUENCE {
policyQualifierId PolicyQualifierId,
qualifier ANY DEFINED BY policyQualifierId }
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable |
BER, DER |
Constructor Summary |
PolicyInformation(org.bouncycastle.asn1.ASN1Sequence seq)
|
PolicyInformation(org.bouncycastle.asn1.DERObjectIdentifier policyIdentifier)
create a policy information with the given policyIdentifier, and no qualifier. |
PolicyInformation(org.bouncycastle.asn1.DERObjectIdentifier policyIdentifier,
java.util.Vector<java.security.cert.PolicyQualifierInfo> policyQualifiers)
|
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PolicyInformation
public PolicyInformation(org.bouncycastle.asn1.ASN1Sequence seq)
PolicyInformation
public PolicyInformation(org.bouncycastle.asn1.DERObjectIdentifier policyIdentifier)
- create a policy information with the given policyIdentifier, and no qualifier.
PolicyInformation
public PolicyInformation(org.bouncycastle.asn1.DERObjectIdentifier policyIdentifier,
java.util.Vector<java.security.cert.PolicyQualifierInfo> policyQualifiers)
getInstance
public static PolicyInformation getInstance(java.lang.Object obj)
getPolicyIdentifier
public org.bouncycastle.asn1.DERObjectIdentifier getPolicyIdentifier()
getPolicyQualifiers
public java.util.Vector<java.security.cert.PolicyQualifierInfo> getPolicyQualifiers()
toASN1Object
public org.bouncycastle.asn1.DERObject toASN1Object()
- Specified by:
toASN1Object
in class org.bouncycastle.asn1.ASN1Encodable