01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.geronimo.crypto.asn1.x509;
17:
18: import org.apache.geronimo.crypto.asn1.DERObjectIdentifier;
19:
20: /**
21: * PolicyQualifierId, used in the CertificatePolicies
22: * X509V3 extension.
23: *
24: * <pre>
25: * id-qt OBJECT IDENTIFIER ::= { id-pkix 2 }
26: * id-qt-cps OBJECT IDENTIFIER ::= { id-qt 1 }
27: * id-qt-unotice OBJECT IDENTIFIER ::= { id-qt 2 }
28: * PolicyQualifierId ::=
29: * OBJECT IDENTIFIER ( id-qt-cps | id-qt-unotice )
30: * </pre>
31: */
32: public class PolicyQualifierId extends DERObjectIdentifier {
33: private static final String id_qt = "1.3.6.1.5.5.7.2";
34:
35: private PolicyQualifierId(String id) {
36: super (id);
37: }
38:
39: public static final PolicyQualifierId id_qt_cps = new PolicyQualifierId(
40: id_qt + ".1");
41: public static final PolicyQualifierId id_qt_unotice = new PolicyQualifierId(
42: id_qt + ".2");
43: }
|