java.security.cert.X509CRLSelector.getIssuers()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.8k)|赞(0)|评价(0)|浏览(103)

本文整理了Java中java.security.cert.X509CRLSelector.getIssuers()方法的一些代码示例,展示了X509CRLSelector.getIssuers()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。X509CRLSelector.getIssuers()方法的具体详情如下:
包路径:java.security.cert.X509CRLSelector
类名称:X509CRLSelector
方法名:getIssuers

X509CRLSelector.getIssuers介绍

[英]Returns the criterion for the issuer distinguished names.

The CRL issuer must match at least one of the distinguished names.
[中]返回颁发者可分辨名称的标准。
CRL颁发者必须至少匹配一个可分辨名称。

代码示例

代码示例来源:origin: eu.eu-emi.security/canl

private Collection<? extends CRL> getCRLs(X509CRLSelector selector)
    throws CertStoreException
{
  Collection<X500Principal> issuers = selector.getIssuers();
  List<X509CRL> ret = new ArrayList<X509CRL>();
  if (issuers == null)
    return ret;
  for (X500Principal issuer: issuers)
  {
    Collection<X509CRL> crls = getCRLForIssuer(issuer);
    for (X509CRL crl: crls)
      if (selector.match(crl))
        ret.add(crl);
  }
  return ret;
}

代码示例来源:origin: com.madgag/scprov-jdk15on

cs.setIssuers(selector.getIssuers());
cs.setMaxCRLNumber(selector.getMaxCRL());
cs.setMinCRLNumber(selector.getMinCRL());

代码示例来源:origin: ripple-unmaintained/ripple-lib-java

cs.setIssuers(selector.getIssuers());
cs.setMaxCRLNumber(selector.getMaxCRL());
cs.setMinCRLNumber(selector.getMinCRL());

代码示例来源:origin: ibinti/bugvm

cs.setIssuers(selector.getIssuers());
cs.setMaxCRLNumber(selector.getMaxCRL());
cs.setMinCRLNumber(selector.getMinCRL());

代码示例来源:origin: com.madgag.spongycastle/prov

cs.setIssuers(selector.getIssuers());
cs.setMaxCRLNumber(selector.getMaxCRL());
cs.setMinCRLNumber(selector.getMinCRL());

代码示例来源:origin: com.bugvm/bugvm-rt

cs.setIssuers(selector.getIssuers());
cs.setMaxCRLNumber(selector.getMaxCRL());
cs.setMinCRLNumber(selector.getMinCRL());

代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on

cs.setIssuers(selector.getIssuers());
cs.setMaxCRLNumber(selector.getMaxCRL());
cs.setMinCRLNumber(selector.getMinCRL());

代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on

SelectorClone(PKIXCRLStoreSelector selector)
{
  this.selector = selector;
  if (selector.baseSelector instanceof X509CRLSelector)
  {
    X509CRLSelector baseSelector = (X509CRLSelector)selector.baseSelector;
    this.setCertificateChecking(baseSelector.getCertificateChecking());
    this.setDateAndTime(baseSelector.getDateAndTime());
    this.setIssuers(baseSelector.getIssuers());
    this.setMinCRLNumber(baseSelector.getMinCRL());
    this.setMaxCRLNumber(baseSelector.getMaxCRL());
  }
}

代码示例来源:origin: com.madgag.spongycastle/prov

SelectorClone(PKIXCRLStoreSelector selector)
{
  this.selector = selector;
  if (selector.baseSelector instanceof X509CRLSelector)
  {
    X509CRLSelector baseSelector = (X509CRLSelector)selector.baseSelector;
    this.setCertificateChecking(baseSelector.getCertificateChecking());
    this.setDateAndTime(baseSelector.getDateAndTime());
    this.setIssuers(baseSelector.getIssuers());
    this.setMinCRLNumber(baseSelector.getMinCRL());
    this.setMaxCRLNumber(baseSelector.getMaxCRL());
  }
}

相关文章