⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmpobjectidentifiers.java

📁 一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考
💻 JAVA
字号:
// CMP implementation copyright (c) 2003 NOVOSEC AG (http://www.novosec.com)//// Author: Maik Stohn//// Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons // to whom the Software is furnished to do so, subject to the following conditions: //// The above copyright notice and this permission notice shall be included in all copies or // substantial portions of the Software. //// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING // BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. package com.novosec.pkix.asn1.cmp;import org.bouncycastle.asn1.DERObjectIdentifier;/** * ASN.1 defined Object Identifier. * */
public class CMPObjectIdentifiers{  //  // id-pkix      = { iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) 7 }  //  //   id-it      = { id-pkix 4 }  //
  static final String  _id_pkix     = "1.3.6.1.5.5.7";  static final String  _id_it       = _id_pkix + ".4";  public static final DERObjectIdentifier it_CAProtEncCert        = new DERObjectIdentifier( _id_it + ".1" );  public static final DERObjectIdentifier it_SignKeyPairTypes     = new DERObjectIdentifier( _id_it + ".2" );  public static final DERObjectIdentifier it_EncKeyPairTypes      = new DERObjectIdentifier( _id_it + ".3" );  public static final DERObjectIdentifier it_PreferredSymmAlg     = new DERObjectIdentifier( _id_it + ".4" );  public static final DERObjectIdentifier it_CAKeyUpdateInfo      = new DERObjectIdentifier( _id_it + ".5" );  public static final DERObjectIdentifier it_CurrentCRL           = new DERObjectIdentifier( _id_it + ".6" );    // PasswordBasedMac ::= OBJECT IDENTIFIER --{1 2 840 113533 7 66 13}
  public static final DERObjectIdentifier passwordBasedMac        = new DERObjectIdentifier( "1.2.840.113533.7.66.13" );    // DHBasedMac ::= OBJECT IDENTIFIER --{1 2 840 113533 7 66 30}
  public static final DERObjectIdentifier dHBasedMac              = new DERObjectIdentifier( "1.2.840.113533.7.66.30" );}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -