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

📄 reasonflags.java

📁 说明: 1、里面有什么: 1.1、org.bouncycastle.*下的所有软件是bouncycastle组织开发的软件包 1.2、org.infosecurity.*下的软件包括
💻 JAVA
字号:
package org.bouncycastle.asn1.x509;import org.bouncycastle.asn1.*;public class ReasonFlags    extends DERBitString{    public static final int UNUSED                  = (1 << 7);    public static final int KEY_COMPROMISE          = (1 << 6);    public static final int CA_COMPROMISE           = (1 << 5);    public static final int AFFILIATION_CHANGED     = (1 << 4);    public static final int SUPERSEDED              = (1 << 3);    public static final int CESSATION_OF_OPERATION  = (1 << 2);    public static final int CERTIFICATE_HOLD        = (1 << 1);    public static final int PRIVILEGE_WITHDRAWN     = (1 << 0);    public static final int AA_COMPROMISE           = (1 << 15);    /**     * <pre>     * ReasonFlags ::= BIT STRING {     *    unused(0),     *    keyCompromise(1),     *    cACompromise(2),     *    affiliationChanged(3),     *    superseded(4),     *    cessationOfOperation(5),     *    certficateHold(6)     * }     * </pre>     * @param reasons - the bitwise OR of the Key Reason flags giving the     * allowed uses for the key.     */    public ReasonFlags(        int reasons)    {        super(getBytes(reasons), getPadBits(reasons));    }    public ReasonFlags(        DERBitString reasons)    {        super(reasons.getBytes(), reasons.getPadBits());    }}

⌨️ 快捷键说明

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