PolicyQualifierInfo ::= SEQUENCE { policyQualifierId PolicyQualifierId, qualifier ANY DEFINED BY policyQualifierId }
Creates a new PolicyQualifierInfo instance.parampolicyQualifierId a PolicyQualifierId valueparamqualifier the qualifier, defined by the above field. this.policyQualifierId = policyQualifierId; this.qualifier = qualifier;
PolicyQualifierInfo
PolicyQualifierId
this.policyQualifierId = policyQualifierId; this.qualifier = qualifier;
Creates a new PolicyQualifierInfo containing a cPSuri qualifier.paramcps the CPS (certification practice statement) uri as a String. policyQualifierId = PolicyQualifierId.id_qt_cps; qualifier = new DERIA5String (cps);
String
policyQualifierId = PolicyQualifierId.id_qt_cps; qualifier = new DERIA5String (cps);
Creates a new PolicyQualifierInfo instance.parama PolicyQualifierInfo X509 structure encoded as an ASN1Sequence. policyQualifierId = (DERObjectIdentifier) as.getObjectAt(0); qualifier = as.getObjectAt(1);
policyQualifierId = (DERObjectIdentifier) as.getObjectAt(0); qualifier = as.getObjectAt(1);
if (as instanceof PolicyQualifierInfo) { return (PolicyQualifierInfo)as; } else if (as instanceof ASN1Sequence) { return new PolicyQualifierInfo((ASN1Sequence)as); } throw new IllegalArgumentException("unknown object in getInstance.");
Returns a DER-encodable representation of this instance.returna DERObject value ASN1EncodableVector dev = new ASN1EncodableVector(); dev.add(policyQualifierId); dev.add(qualifier); return new DERSequence(dev);
DERObject
ASN1EncodableVector dev = new ASN1EncodableVector(); dev.add(policyQualifierId); dev.add(qualifier); return new DERSequence(dev);