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

📄 pki_crlinfo.java

📁 这个是自由下载的
💻 JAVA
字号:
/**
 * @(#)PKI_CRLINFO.java  2003/05/05
 *
 * Copyright(c) 2003  Wellhope Inc. All rights reserved.
 */

package psic;

/**
* @Title PKI_CRLINFO Class
* @Description PKI_CRLINFO类记录PKI证书撤消列表的信息
* @Version 1.0.0
* @Author Zhuchengmin
*/

public class PKI_CRLINFO
{
    public NAME_INFO issuer;//颁发者的名称信息
    public TIME_PERIOD time;//有效期
    public CRL_LIST certList;//CRL列表

	public PKI_CRLINFO()
    {
        issuer = new NAME_INFO();
        time = new TIME_PERIOD();
        certList = null;
    }

    //添加一个CRL列表
    public void addOneCRL_LIST(byte[] b_sn, String s_time, byte b_code)
    {
        CRL_LIST crl_list;
        if(certList == null)
        {
            certList = new CRL_LIST();
            crl_list = certList;
        } else
        {
            crl_list = new CRL_LIST();
            CRL_LIST crl_list1;
            for(crl_list1 = certList; crl_list1.next != null; crl_list1 = crl_list1.next);
            crl_list1.next = crl_list;
        }
        crl_list.setSerialNumber(b_sn);
        crl_list.setRevokeTimeString(s_time);
        crl_list.setReasonCode(b_code);
        crl_list.next = null;
    }

}

⌨️ 快捷键说明

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