1 2 package org.bouncycastle.asn1.x509; 3 4 import org.bouncycastle.asn1.ASN1ObjectIdentifier; 5 6 /** 7 * PolicyQualifierId, used in the CertificatePolicies 8 * X509V3 extension. 9 * 10 * <pre> 11 * id-qt OBJECT IDENTIFIER ::= { id-pkix 2 } 12 * id-qt-cps OBJECT IDENTIFIER ::= { id-qt 1 } 13 * id-qt-unotice OBJECT IDENTIFIER ::= { id-qt 2 } 14 * PolicyQualifierId ::= 15 * OBJECT IDENTIFIER (id-qt-cps | id-qt-unotice) 16 * </pre> 17 */ 18 public class PolicyQualifierId extends ASN1ObjectIdentifier 19 { 20 private static final String id_qt = "1.3.6.1.5.5.7.2"; 21 PolicyQualifierId(String id)22 private PolicyQualifierId(String id) 23 { 24 super(id); 25 } 26 27 public static final PolicyQualifierId id_qt_cps = 28 new PolicyQualifierId(id_qt + ".1"); 29 public static final PolicyQualifierId id_qt_unotice = 30 new PolicyQualifierId(id_qt + ".2"); 31 } 32