Java 类org.bouncycastle.asn1.ocsp.CrlID 实例源码

项目:xipki    文件:CrlInfo.java   
public CrlInfo(String conf) {
    ConfPairs pairs = new ConfPairs(conf);
    String str = getNotBlankValue(pairs, CRL_NUMBER);
    this.crlNumber = new BigInteger(str, 16);

    str = pairs.value(BASE_CRL_NUMBER);
    if (StringUtil.isNotBlank(str)) {
        this.baseCrlNumber = new BigInteger(str, 16);
    }

    str = getNotBlankValue(pairs, THIS_UPDATE);
    this.thisUpdate = DateUtil.parseUtcTimeyyyyMMddhhmmss(str);

    str = getNotBlankValue(pairs, NEXT_UPDATE);
    this.nextUpdate = DateUtil.parseUtcTimeyyyyMMddhhmmss(str);

    str = getNotBlankValue(pairs, CRL_ID);
    this.crlId = CrlID.getInstance(Base64.decodeFast(str));

    str = getNotBlankValue(pairs, USE_CRL_UPDATES);
    this.useCrlUpdates = Boolean.parseBoolean(str);
}
项目:xipki    文件:CrlInfo.java   
public CrlInfo(BigInteger crlNumber, BigInteger baseCrlNumber, boolean useCrlUpdate,
        Date thisUpdate, Date nextUpdate, CrlID crlId) {
    this.crlNumber = ParamUtil.requireNonNull("crlNumber", crlNumber);
    this.baseCrlNumber = baseCrlNumber;
    this.useCrlUpdates = useCrlUpdate;
    this.thisUpdate = ParamUtil.requireNonNull("thisUpdate", thisUpdate);
    this.nextUpdate = ParamUtil.requireNonNull("nextUpdate", nextUpdate);
    this.crlId = ParamUtil.requireNonNull("crlId", crlId);
}
项目:xipki    文件:CrlInfo.java   
public CrlID crlId() {
    return crlId;
}
项目:xipki    文件:CrlInfo.java   
public void setCrlId(CrlID crlId) {
    this.crlId = crlId;
}
项目:xipki    文件:CertStatusInfo.java   
public CrlID crlId() {
    return crlId;
}
项目:xipki    文件:CertStatusInfo.java   
public void setCrlId(CrlID crlId) {
    this.crlId = crlId;
}