/* * DSS - Digital Signature Services * * Copyright (C) 2013 European Commission, Directorate-General Internal Market and Services (DG MARKT), B-1049 Bruxelles/Brussel * * Developed by: 2013 ARHS Developments S.A. (rue Nicolas Bové 2B, L-1253 Luxembourg) http://www.arhs-developments.com * * This file is part of the "DSS - Digital Signature Services" project. * * "DSS - Digital Signature Services" is free software: you can redistribute it and/or modify it under the terms of * the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the * License, or (at your option) any later version. * * DSS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with * "DSS - Digital Signature Services". If not, see <http://www.gnu.org/licenses/>. */ package eu.europa.ec.markt.dss; import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; public class OID { /** * id-kp-OCSPSigning Indicates that a X.509 Certificates corresponding private key may be used by an authority to * sign OCSP-Responses */ public static final ASN1ObjectIdentifier id_kp_OCSPSigning = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.3.9"); /** * id-pkix-ocsp-nocheck<br> * Revocation Checking of an Authorised Responder.<br> * An OCSP client can trust a responder for the lifetime of the responder's certificate. */ public static final ASN1ObjectIdentifier id_pkix_ocsp_no_check = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.48.1.5"); /** * Certificate extension: "id_ce_extKeyUsage" (Extended key usage) * This field indicates one or more purposes for which the certified public key may be used, in addition to or in place of the basic purposes indicated in the key usage * extension field. * * More information can be found in Recommendation ITU-T X.509 (March 2000) and in ISO/IEC 9594-8 (2001): "Directory: Public-key and attribute certificate frameworks". */ public static final ASN1ObjectIdentifier id_ce_extKeyUsage = new ASN1ObjectIdentifier("2.5.29.37"); /** * The CRL extension expiredCertOnCRL. */ public static final ASN1ObjectIdentifier id_ce_expiredCertsOnCRL = new ASN1ObjectIdentifier("2.5.29.60"); /** * Not defined in: ETSIQCObjectIdentifiers * A certificate policy for qualified certificates issued to the public.<br /> * {itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(1456) policy-identifiers(1) qcp-public(2)} */ public static final ASN1ObjectIdentifier id_etsi_qcp_public = new ASN1ObjectIdentifier("0.4.0.1456.1.2"); /** * Not defined in: ETSIQCObjectIdentifiers * A certificate policy for qualified certificates issued to the public, requiring use of secure signature-creation devices.<br /> * {itu-t(0) identified-organization(4) etsi(0) qualified-certificate-policies(1456) policy-identifiers(1) qcp-public-with-sscd(1)} */ public static final ASN1ObjectIdentifier id_etsi_qcp_public_with_sscd = new ASN1ObjectIdentifier("0.4.0.1456.1.1"); /** * Not defined in: PKCSObjectIdentifiers * mime-type attribute * See ETSI TS 101 733, clause 5.11.5 */ public static final ASN1ObjectIdentifier id_aa_ets_mimeType = new ASN1ObjectIdentifier("0.4.0.1733.2.1"); public static final ASN1ObjectIdentifier id_etsi_electronicSignatureStandard = new ASN1ObjectIdentifier("0.4.0.1733"); public static final ASN1ObjectIdentifier id_etsi_electronicSignatureStandard_attributes = id_etsi_electronicSignatureStandard.branch("2"); /** * id-aa-ets-archiveTimestampV2 OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) * id-aa(2) 48} */ public static final ASN1ObjectIdentifier id_aa_ets_archiveTimestampV2 = PKCSObjectIdentifiers.id_aa.branch("48"); /** * id-aa-ets-archiveTimestampV3 OBJECT IDENTIFIER ::= { itu-t(0) identified-organization(4) etsi(0) electronic-signature-standard(1733) * attributes(2) 4 } */ public static final ASN1ObjectIdentifier id_aa_ets_archiveTimestampV3 = id_etsi_electronicSignatureStandard_attributes.branch("4"); /** * id-aa-ATSHashIndex OBJECT IDENTIFIER ::= { itu-t(0) identified-organization(4) etsi(0) electronicsignature-standard(1733) * attributes(2) 5 } */ public static final ASN1ObjectIdentifier id_aa_ATSHashIndex = id_etsi_electronicSignatureStandard_attributes.branch("5"); /** * id-countersignature OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9) 6 } */ public static final ASN1ObjectIdentifier id_countersignature = new ASN1ObjectIdentifier("1.2.840.113549.1.9.6"); }