001package org.apache.commons.ssl.org.bouncycastle.asn1.cmp; 002 003import org.apache.commons.ssl.org.bouncycastle.asn1.ASN1ObjectIdentifier; 004 005public interface CMPObjectIdentifiers 006{ 007 // RFC 4210 008 009 /** id-PasswordBasedMac OBJECT IDENTIFIER ::= {1 2 840 113533 7 66 13} */ 010 static final ASN1ObjectIdentifier passwordBasedMac = new ASN1ObjectIdentifier("1.2.840.113533.7.66.13"); 011 012 /** id-DHBasedMac OBJECT IDENTIFIER ::= {1 2 840 113533 7 66 30} */ 013 static final ASN1ObjectIdentifier dhBasedMac = new ASN1ObjectIdentifier("1.2.840.113533.7.66.30"); 014 015 // Example InfoTypeAndValue contents include, but are not limited 016 // to, the following (un-comment in this ASN.1 module and use as 017 // appropriate for a given environment): 018 // 019 // id-it-caProtEncCert OBJECT IDENTIFIER ::= {id-it 1} 020 // CAProtEncCertValue ::= CMPCertificate 021 // id-it-signKeyPairTypes OBJECT IDENTIFIER ::= {id-it 2} 022 // SignKeyPairTypesValue ::= SEQUENCE OF AlgorithmIdentifier 023 // id-it-encKeyPairTypes OBJECT IDENTIFIER ::= {id-it 3} 024 // EncKeyPairTypesValue ::= SEQUENCE OF AlgorithmIdentifier 025 // id-it-preferredSymmAlg OBJECT IDENTIFIER ::= {id-it 4} 026 // PreferredSymmAlgValue ::= AlgorithmIdentifier 027 // id-it-caKeyUpdateInfo OBJECT IDENTIFIER ::= {id-it 5} 028 // CAKeyUpdateInfoValue ::= CAKeyUpdAnnContent 029 // id-it-currentCRL OBJECT IDENTIFIER ::= {id-it 6} 030 // CurrentCRLValue ::= CertificateList 031 // id-it-unsupportedOIDs OBJECT IDENTIFIER ::= {id-it 7} 032 // UnsupportedOIDsValue ::= SEQUENCE OF OBJECT IDENTIFIER 033 // id-it-keyPairParamReq OBJECT IDENTIFIER ::= {id-it 10} 034 // KeyPairParamReqValue ::= OBJECT IDENTIFIER 035 // id-it-keyPairParamRep OBJECT IDENTIFIER ::= {id-it 11} 036 // KeyPairParamRepValue ::= AlgorithmIdentifer 037 // id-it-revPassphrase OBJECT IDENTIFIER ::= {id-it 12} 038 // RevPassphraseValue ::= EncryptedValue 039 // id-it-implicitConfirm OBJECT IDENTIFIER ::= {id-it 13} 040 // ImplicitConfirmValue ::= NULL 041 // id-it-confirmWaitTime OBJECT IDENTIFIER ::= {id-it 14} 042 // ConfirmWaitTimeValue ::= GeneralizedTime 043 // id-it-origPKIMessage OBJECT IDENTIFIER ::= {id-it 15} 044 // OrigPKIMessageValue ::= PKIMessages 045 // id-it-suppLangTags OBJECT IDENTIFIER ::= {id-it 16} 046 // SuppLangTagsValue ::= SEQUENCE OF UTF8String 047 // 048 // where 049 // 050 // id-pkix OBJECT IDENTIFIER ::= { 051 // iso(1) identified-organization(3) 052 // dod(6) internet(1) security(5) mechanisms(5) pkix(7)} 053 // and 054 // id-it OBJECT IDENTIFIER ::= {id-pkix 4} 055 056 /** RFC 4120: it-id: PKIX.4 = 1.3.6.1.5.5.7.4 */ 057 058 /** RFC 4120: 1.3.6.1.5.5.7.4.1 */ 059 static final ASN1ObjectIdentifier it_caProtEncCert = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.1"); 060 /** RFC 4120: 1.3.6.1.5.5.7.4.2 */ 061 static final ASN1ObjectIdentifier it_signKeyPairTypes = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.2"); 062 /** RFC 4120: 1.3.6.1.5.5.7.4.3 */ 063 static final ASN1ObjectIdentifier it_encKeyPairTypes = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.3"); 064 /** RFC 4120: 1.3.6.1.5.5.7.4.4 */ 065 static final ASN1ObjectIdentifier it_preferredSymAlg = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.4"); 066 /** RFC 4120: 1.3.6.1.5.5.7.4.5 */ 067 static final ASN1ObjectIdentifier it_caKeyUpdateInfo = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.5"); 068 /** RFC 4120: 1.3.6.1.5.5.7.4.6 */ 069 static final ASN1ObjectIdentifier it_currentCRL = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.6"); 070 /** RFC 4120: 1.3.6.1.5.5.7.4.7 */ 071 static final ASN1ObjectIdentifier it_unsupportedOIDs = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.7"); 072 /** RFC 4120: 1.3.6.1.5.5.7.4.10 */ 073 static final ASN1ObjectIdentifier it_keyPairParamReq = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.10"); 074 /** RFC 4120: 1.3.6.1.5.5.7.4.11 */ 075 static final ASN1ObjectIdentifier it_keyPairParamRep = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.11"); 076 /** RFC 4120: 1.3.6.1.5.5.7.4.12 */ 077 static final ASN1ObjectIdentifier it_revPassphrase = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.12"); 078 /** RFC 4120: 1.3.6.1.5.5.7.4.13 */ 079 static final ASN1ObjectIdentifier it_implicitConfirm = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.13"); 080 /** RFC 4120: 1.3.6.1.5.5.7.4.14 */ 081 static final ASN1ObjectIdentifier it_confirmWaitTime = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.14"); 082 /** RFC 4120: 1.3.6.1.5.5.7.4.15 */ 083 static final ASN1ObjectIdentifier it_origPKIMessage = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.15"); 084 /** RFC 4120: 1.3.6.1.5.5.7.4.16 */ 085 static final ASN1ObjectIdentifier it_suppLangTags = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.4.16"); 086 087 // RFC 4211 088 089 // id-pkix OBJECT IDENTIFIER ::= { iso(1) identified-organization(3) 090 // dod(6) internet(1) security(5) mechanisms(5) pkix(7) } 091 // 092 // arc for Internet X.509 PKI protocols and their components 093 // id-pkip OBJECT IDENTIFIER :: { id-pkix pkip(5) } 094 // 095 // arc for Registration Controls in CRMF 096 // id-regCtrl OBJECT IDENTIFIER ::= { id-pkip regCtrl(1) } 097 // 098 // arc for Registration Info in CRMF 099 // id-regInfo OBJECT IDENTIFIER ::= { id-pkip id-regInfo(2) } 100 101 /** RFC 4211: it-pkip: PKIX.5 = 1.3.6.1.5.5.7.5 */ 102 static final ASN1ObjectIdentifier id_pkip = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5"); 103 104 /** RFC 4211: it-regCtrl: 1.3.6.1.5.5.7.5.1 */ 105 static final ASN1ObjectIdentifier id_regCtrl = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5.1"); 106 /** RFC 4211: it-regInfo: 1.3.6.1.5.5.7.5.2 */ 107 static final ASN1ObjectIdentifier id_regInfo = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5.2"); 108 109 110 /** 1.3.6.1.5.5.7.5.1.1 */ 111 static final ASN1ObjectIdentifier regCtrl_regToken = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5.1.1"); 112 /** 1.3.6.1.5.5.7.5.1.2 */ 113 static final ASN1ObjectIdentifier regCtrl_authenticator = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5.1.2"); 114 /** 1.3.6.1.5.5.7.5.1.3 */ 115 static final ASN1ObjectIdentifier regCtrl_pkiPublicationInfo = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5.1.3"); 116 /** 1.3.6.1.5.5.7.5.1.4 */ 117 static final ASN1ObjectIdentifier regCtrl_pkiArchiveOptions = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5.1.4"); 118 /** 1.3.6.1.5.5.7.5.1.5 */ 119 static final ASN1ObjectIdentifier regCtrl_oldCertID = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5.1.5"); 120 /** 1.3.6.1.5.5.7.5.1.6 */ 121 static final ASN1ObjectIdentifier regCtrl_protocolEncrKey = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5.1.6"); 122 123 /** From RFC4210: 124 * id-regCtrl-altCertTemplate OBJECT IDENTIFIER ::= {id-regCtrl 7}; 1.3.6.1.5.5.7.1.7 */ 125 static final ASN1ObjectIdentifier regCtrl_altCertTemplate = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5.1.7"); 126 127 /** RFC 4211: it-regInfo-utf8Pairs: 1.3.6.1.5.5.7.5.2.1 */ 128 static final ASN1ObjectIdentifier regInfo_utf8Pairs = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5.2.1"); 129 /** RFC 4211: it-regInfo-certReq: 1.3.6.1.5.5.7.5.2.1 */ 130 static final ASN1ObjectIdentifier regInfo_certReq = new ASN1ObjectIdentifier("1.3.6.1.5.5.7.5.2.2"); 131 132 /** 133 * 1.2.840.113549.1.9.16.1.21 134 * <p> 135 * id-ct OBJECT IDENTIFIER ::= { id-smime 1 } -- content types 136 * <p> 137 * id-ct-encKeyWithID OBJECT IDENTIFIER ::= {id-ct 21} 138 */ 139 static final ASN1ObjectIdentifier ct_encKeyWithID = new ASN1ObjectIdentifier("1.2.840.113549.1.9.16.1.21"); 140 141}