• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java StoreException类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.bouncycastle.util.StoreException的典型用法代码示例。如果您正苦于以下问题:Java StoreException类的具体用法?Java StoreException怎么用?Java StoreException使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



StoreException类属于org.bouncycastle.util包,在下文中一共展示了StoreException类的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: getAuthorityRevocationLists

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns the CRLs for issued certificates for other CAs matching the given
 * selector. <br>
 * The authorityRevocationList attribute includes revocation information
 * regarding certificates issued to other CAs.
 *
 * @param selector The CRL selector to use to find the CRLs.
 * @return A possible empty collection with CRLs
 * @throws StoreException
 */
public Collection getAuthorityRevocationLists(X509CRLStoreSelector selector)
    throws StoreException
{
    String[] attrs = splitString(params.getAuthorityRevocationListAttribute());
    String attrNames[] = splitString(params
        .getLdapAuthorityRevocationListAttributeName());
    String issuerAttributeNames[] = splitString(params
        .getAuthorityRevocationListIssuerAttributeName());

    List list = cRLIssuerSearch(selector, attrs, attrNames,
        issuerAttributeNames);
    Set resultSet = createCRLs(list, selector);
    if (resultSet.size() == 0)
    {
        X509CRLStoreSelector emptySelector = new X509CRLStoreSelector();
        list = cRLIssuerSearch(emptySelector, attrs, attrNames,
            issuerAttributeNames);

        resultSet.addAll(createCRLs(list, selector));
    }
    return resultSet;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:33,代码来源:LDAPStoreHelper.java


示例2: getAttributeCertificateRevocationLists

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns the revocation list for revoked attribute certificates.
 * <p/>
 * The attributeCertificateRevocationList holds a list of attribute
 * certificates that have been revoked.
 *
 * @param selector The CRL selector to use to find the CRLs.
 * @return A possible empty collection with CRLs.
 * @throws StoreException
 */
public Collection getAttributeCertificateRevocationLists(
    X509CRLStoreSelector selector) throws StoreException
{
    String[] attrs = splitString(params
        .getAttributeCertificateRevocationListAttribute());
    String attrNames[] = splitString(params
        .getLdapAttributeCertificateRevocationListAttributeName());
    String issuerAttributeNames[] = splitString(params
        .getAttributeCertificateRevocationListIssuerAttributeName());

    List list = cRLIssuerSearch(selector, attrs, attrNames,
        issuerAttributeNames);
    Set resultSet = createCRLs(list, selector);
    if (resultSet.size() == 0)
    {
        X509CRLStoreSelector emptySelector = new X509CRLStoreSelector();
        list = cRLIssuerSearch(emptySelector, attrs, attrNames,
            issuerAttributeNames);

        resultSet.addAll(createCRLs(list, selector));
    }
    return resultSet;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:34,代码来源:LDAPStoreHelper.java


示例3: getAttributeAuthorityRevocationLists

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns the revocation list for revoked attribute certificates for an
 * attribute authority
 * <p/>
 * The attributeAuthorityList holds a list of AA certificates that have been
 * revoked.
 *
 * @param selector The CRL selector to use to find the CRLs.
 * @return A possible empty collection with CRLs
 * @throws StoreException
 */
public Collection getAttributeAuthorityRevocationLists(
    X509CRLStoreSelector selector) throws StoreException
{
    String[] attrs = splitString(params.getAttributeAuthorityRevocationListAttribute());
    String attrNames[] = splitString(params
        .getLdapAttributeAuthorityRevocationListAttributeName());
    String issuerAttributeNames[] = splitString(params
        .getAttributeAuthorityRevocationListIssuerAttributeName());

    List list = cRLIssuerSearch(selector, attrs, attrNames,
        issuerAttributeNames);
    Set resultSet = createCRLs(list, selector);
    if (resultSet.size() == 0)
    {
        X509CRLStoreSelector emptySelector = new X509CRLStoreSelector();
        list = cRLIssuerSearch(emptySelector, attrs, attrNames,
            issuerAttributeNames);

        resultSet.addAll(createCRLs(list, selector));
    }
    return resultSet;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:34,代码来源:LDAPStoreHelper.java


示例4: getCrossCertificatePairs

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns cross certificate pairs.
 *
 * @param selector The selector to use to find the cross certificates.
 * @return A possible empty collection with {@link X509CertificatePair}s
 * @throws StoreException
 */
public Collection getCrossCertificatePairs(
    X509CertPairStoreSelector selector) throws StoreException
{
    String[] attrs = splitString(params.getCrossCertificateAttribute());
    String attrNames[] = splitString(params.getLdapCrossCertificateAttributeName());
    String subjectAttributeNames[] = splitString(params
        .getCrossCertificateSubjectAttributeName());
    List list = crossCertificatePairSubjectSearch(selector, attrs,
        attrNames, subjectAttributeNames);
    Set resultSet = createCrossCertificatePairs(list, selector);
    if (resultSet.size() == 0)
    {
        X509CertStoreSelector emptyCertselector = new X509CertStoreSelector();
        X509CertPairStoreSelector emptySelector = new X509CertPairStoreSelector();

        emptySelector.setForwardSelector(emptyCertselector);
        emptySelector.setReverseSelector(emptyCertselector);
        list = crossCertificatePairSubjectSearch(emptySelector, attrs,
            attrNames, subjectAttributeNames);
        resultSet.addAll(createCrossCertificatePairs(list, selector));
    }
    return resultSet;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:31,代码来源:LDAPStoreHelper.java


示例5: getUserCertificates

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns end certificates.
 * <p/>
 * The attributeDescriptorCertificate is self signed by a source of
 * authority and holds a description of the privilege and its delegation
 * rules.
 *
 * @param selector The selector to find the certificates.
 * @return A possible empty collection with certificates.
 * @throws StoreException
 */
public Collection getUserCertificates(X509CertStoreSelector selector)
    throws StoreException
{
    String[] attrs = splitString(params.getUserCertificateAttribute());
    String attrNames[] = splitString(params.getLdapUserCertificateAttributeName());
    String subjectAttributeNames[] = splitString(params
        .getUserCertificateSubjectAttributeName());

    List list = certSubjectSerialSearch(selector, attrs, attrNames,
        subjectAttributeNames);
    Set resultSet = createCerts(list, selector);
    if (resultSet.size() == 0)
    {
        X509CertStoreSelector emptySelector = new X509CertStoreSelector();
        list = certSubjectSerialSearch(emptySelector, attrs, attrNames,
            subjectAttributeNames);
        resultSet.addAll(createCerts(list, selector));
    }

    return resultSet;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:33,代码来源:LDAPStoreHelper.java


示例6: getAACertificates

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns attribute certificates for an attribute authority
 * <p/>
 * The aAcertificate holds the privileges of an attribute authority.
 *
 * @param selector The selector to find the attribute certificates.
 * @return A possible empty collection with attribute certificates.
 * @throws StoreException
 */
public Collection getAACertificates(X509AttributeCertStoreSelector selector)
    throws StoreException
{
    String[] attrs = splitString(params.getAACertificateAttribute());
    String attrNames[] = splitString(params.getLdapAACertificateAttributeName());
    String subjectAttributeNames[] = splitString(params.getAACertificateSubjectAttributeName());

    List list = attrCertSubjectSerialSearch(selector, attrs, attrNames,
        subjectAttributeNames);
    Set resultSet = createAttributeCertificates(list, selector);
    if (resultSet.size() == 0)
    {
        X509AttributeCertStoreSelector emptySelector = new X509AttributeCertStoreSelector();
        list = attrCertSubjectSerialSearch(emptySelector, attrs, attrNames,
            subjectAttributeNames);
        resultSet.addAll(createAttributeCertificates(list, selector));
    }

    return resultSet;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:30,代码来源:LDAPStoreHelper.java


示例7: getAttributeDescriptorCertificates

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns an attribute certificate for an authority
 * <p/>
 * The attributeDescriptorCertificate is self signed by a source of
 * authority and holds a description of the privilege and its delegation
 * rules.
 *
 * @param selector The selector to find the attribute certificates.
 * @return A possible empty collection with attribute certificates.
 * @throws StoreException
 */
public Collection getAttributeDescriptorCertificates(
    X509AttributeCertStoreSelector selector) throws StoreException
{
    String[] attrs = splitString(params.getAttributeDescriptorCertificateAttribute());
    String attrNames[] = splitString(params
        .getLdapAttributeDescriptorCertificateAttributeName());
    String subjectAttributeNames[] = splitString(params
        .getAttributeDescriptorCertificateSubjectAttributeName());

    List list = attrCertSubjectSerialSearch(selector, attrs, attrNames,
        subjectAttributeNames);
    Set resultSet = createAttributeCertificates(list, selector);
    if (resultSet.size() == 0)
    {
        X509AttributeCertStoreSelector emptySelector = new X509AttributeCertStoreSelector();
        list = attrCertSubjectSerialSearch(emptySelector, attrs, attrNames,
            subjectAttributeNames);
        resultSet.addAll(createAttributeCertificates(list, selector));
    }

    return resultSet;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:34,代码来源:LDAPStoreHelper.java


示例8: getCACertificates

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns CA certificates.
 * <p/>
 * The cACertificate attribute of a CA's directory entry shall be used to
 * store self-issued certificates (if any) and certificates issued to this
 * CA by CAs in the same realm as this CA.
 *
 * @param selector The selector to find the certificates.
 * @return A possible empty collection with certificates.
 * @throws StoreException
 */
public Collection getCACertificates(X509CertStoreSelector selector)
    throws StoreException
{
    String[] attrs = splitString(params.getCACertificateAttribute());
    String attrNames[] = splitString(params.getLdapCACertificateAttributeName());
    String subjectAttributeNames[] = splitString(params
        .getCACertificateSubjectAttributeName());
    List list = certSubjectSerialSearch(selector, attrs, attrNames,
        subjectAttributeNames);
    Set resultSet = createCerts(list, selector);
    if (resultSet.size() == 0)
    {
        X509CertStoreSelector emptySelector = new X509CertStoreSelector();
        list = certSubjectSerialSearch(emptySelector, attrs, attrNames,
            subjectAttributeNames);
        resultSet.addAll(createCerts(list, selector));
    }
    return resultSet;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:31,代码来源:LDAPStoreHelper.java


示例9: getDeltaCertificateRevocationLists

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns the delta revocation list for revoked certificates.
 *
 * @param selector The CRL selector to use to find the CRLs.
 * @return A possible empty collection with CRLs.
 * @throws StoreException
 */
public Collection getDeltaCertificateRevocationLists(
    X509CRLStoreSelector selector) throws StoreException
{
    String[] attrs = splitString(params.getDeltaRevocationListAttribute());
    String attrNames[] = splitString(params.getLdapDeltaRevocationListAttributeName());
    String issuerAttributeNames[] = splitString(params
        .getDeltaRevocationListIssuerAttributeName());
    List list = cRLIssuerSearch(selector, attrs, attrNames,
        issuerAttributeNames);
    Set resultSet = createCRLs(list, selector);
    if (resultSet.size() == 0)
    {
        X509CRLStoreSelector emptySelector = new X509CRLStoreSelector();
        list = cRLIssuerSearch(emptySelector, attrs, attrNames,
            issuerAttributeNames);

        resultSet.addAll(createCRLs(list, selector));
    }
    return resultSet;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:28,代码来源:LDAPStoreHelper.java


示例10: getAttributeCertificateAttributes

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns an attribute certificate for an user.
 * <p/>
 * The attributeCertificateAttribute holds the privileges of a user
 *
 * @param selector The selector to find the attribute certificates.
 * @return A possible empty collection with attribute certificates.
 * @throws StoreException
 */
public Collection getAttributeCertificateAttributes(
    X509AttributeCertStoreSelector selector) throws StoreException
{
    String[] attrs = splitString(params.getAttributeCertificateAttributeAttribute());
    String attrNames[] = splitString(params
        .getLdapAttributeCertificateAttributeAttributeName());
    String subjectAttributeNames[] = splitString(params
        .getAttributeCertificateAttributeSubjectAttributeName());
    List list = attrCertSubjectSerialSearch(selector, attrs, attrNames,
        subjectAttributeNames);
    Set resultSet = createAttributeCertificates(list, selector);
    if (resultSet.size() == 0)
    {
        X509AttributeCertStoreSelector emptySelector = new X509AttributeCertStoreSelector();
        list = attrCertSubjectSerialSearch(emptySelector, attrs, attrNames,
            subjectAttributeNames);
        resultSet.addAll(createAttributeCertificates(list, selector));
    }

    return resultSet;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:31,代码来源:LDAPStoreHelper.java


示例11: getCertificateRevocationLists

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns the certificate revocation lists for revoked certificates.
 *
 * @param selector The CRL selector to use to find the CRLs.
 * @return A possible empty collection with CRLs.
 * @throws StoreException
 */
public Collection getCertificateRevocationLists(
    X509CRLStoreSelector selector) throws StoreException
{
    String[] attrs = splitString(params.getCertificateRevocationListAttribute());
    String attrNames[] = splitString(params
        .getLdapCertificateRevocationListAttributeName());
    String issuerAttributeNames[] = splitString(params
        .getCertificateRevocationListIssuerAttributeName());
    List list = cRLIssuerSearch(selector, attrs, attrNames,
        issuerAttributeNames);
    Set resultSet = createCRLs(list, selector);
    if (resultSet.size() == 0)
    {
        X509CRLStoreSelector emptySelector = new X509CRLStoreSelector();
        list = cRLIssuerSearch(emptySelector, attrs, attrNames,
            issuerAttributeNames);

        resultSet.addAll(createCRLs(list, selector));
    }
    return resultSet;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:29,代码来源:LDAPStoreHelper.java


示例12: getSubjectAsString

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
private String getSubjectAsString(X509CertStoreSelector xselector)
{
    try
    {
        byte[] encSubject = xselector.getSubjectAsBytes();
        if (encSubject != null)
        {
            return new X500Principal(encSubject).getName("RFC1779");
        }
    }
    catch (IOException e)
    {
        throw new StoreException("exception processing name: " + e.getMessage(), e);
    }
    return null;
}
 
开发者ID:Appdome,项目名称:ipack,代码行数:17,代码来源:LDAPStoreHelper.java


示例13: getMatches

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Return a collection of entries matching the passed in selector.
 *
 * @param selector the selector to validate entries against.
 * @return a possibly empty collection of matched entries.
 * @throws StoreException in case of an underlying issue.
 */
public Collection getMatches(Selector selector)
    throws StoreException
{
    if (selector == null)
    {
        return entries.values();
    }

    List results = new ArrayList();

    for (Iterator it = entries.values().iterator(); it.hasNext();)
    {
        Object next = it.next();
        if (selector.match(next))
        {
            results.add(next);
        }
    }

    return Collections.unmodifiableList(results);
}
 
开发者ID:ttt43ttt,项目名称:gwt-crypto,代码行数:29,代码来源:DANEEntryStore.java


示例14: getAttributeCertificateRevocationLists

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns the revocation list for revoked attribute certificates.
 * <p>
 * The attributeCertificateRevocationList holds a list of attribute
 * certificates that have been revoked.
 * </p>
 * @param selector The CRL selector to use to find the CRLs.
 * @return A possible empty collection with CRLs.
 * @throws StoreException
 */
public Collection getAttributeCertificateRevocationLists(
    X509CRLStoreSelector selector) throws StoreException
{
    String[] attrs = splitString(params
        .getAttributeCertificateRevocationListAttribute());
    String attrNames[] = splitString(params
        .getLdapAttributeCertificateRevocationListAttributeName());
    String issuerAttributeNames[] = splitString(params
        .getAttributeCertificateRevocationListIssuerAttributeName());

    List list = cRLIssuerSearch(selector, attrs, attrNames,
        issuerAttributeNames);
    Set resultSet = createCRLs(list, selector);
    if (resultSet.size() == 0)
    {
        X509CRLStoreSelector emptySelector = new X509CRLStoreSelector();
        list = cRLIssuerSearch(emptySelector, attrs, attrNames,
            issuerAttributeNames);

        resultSet.addAll(createCRLs(list, selector));
    }
    return resultSet;
}
 
开发者ID:thedrummeraki,项目名称:Aki-SSL,代码行数:34,代码来源:LDAPStoreHelper.java


示例15: getAttributeAuthorityRevocationLists

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns the revocation list for revoked attribute certificates for an
 * attribute authority
 * <p>
 * The attributeAuthorityList holds a list of AA certificates that have been
 * revoked.
 * </p>
 * @param selector The CRL selector to use to find the CRLs.
 * @return A possible empty collection with CRLs
 * @throws StoreException
 */
public Collection getAttributeAuthorityRevocationLists(
    X509CRLStoreSelector selector) throws StoreException
{
    String[] attrs = splitString(params.getAttributeAuthorityRevocationListAttribute());
    String attrNames[] = splitString(params
        .getLdapAttributeAuthorityRevocationListAttributeName());
    String issuerAttributeNames[] = splitString(params
        .getAttributeAuthorityRevocationListIssuerAttributeName());

    List list = cRLIssuerSearch(selector, attrs, attrNames,
        issuerAttributeNames);
    Set resultSet = createCRLs(list, selector);
    if (resultSet.size() == 0)
    {
        X509CRLStoreSelector emptySelector = new X509CRLStoreSelector();
        list = cRLIssuerSearch(emptySelector, attrs, attrNames,
            issuerAttributeNames);

        resultSet.addAll(createCRLs(list, selector));
    }
    return resultSet;
}
 
开发者ID:thedrummeraki,项目名称:Aki-SSL,代码行数:34,代码来源:LDAPStoreHelper.java


示例16: getAACertificates

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns attribute certificates for an attribute authority
 * <p>
 * The aAcertificate holds the privileges of an attribute authority.
 * </p>
 * @param selector The selector to find the attribute certificates.
 * @return A possible empty collection with attribute certificates.
 * @throws StoreException
 */
public Collection getAACertificates(X509AttributeCertStoreSelector selector)
    throws StoreException
{
    String[] attrs = splitString(params.getAACertificateAttribute());
    String attrNames[] = splitString(params.getLdapAACertificateAttributeName());
    String subjectAttributeNames[] = splitString(params.getAACertificateSubjectAttributeName());

    List list = attrCertSubjectSerialSearch(selector, attrs, attrNames,
        subjectAttributeNames);
    Set resultSet = createAttributeCertificates(list, selector);
    if (resultSet.size() == 0)
    {
        X509AttributeCertStoreSelector emptySelector = new X509AttributeCertStoreSelector();
        list = attrCertSubjectSerialSearch(emptySelector, attrs, attrNames,
            subjectAttributeNames);
        resultSet.addAll(createAttributeCertificates(list, selector));
    }

    return resultSet;
}
 
开发者ID:thedrummeraki,项目名称:Aki-SSL,代码行数:30,代码来源:LDAPStoreHelper.java


示例17: getAttributeDescriptorCertificates

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns an attribute certificate for an authority
 * <p>
 * The attributeDescriptorCertificate is self signed by a source of
 * authority and holds a description of the privilege and its delegation
 * rules.
 * </p>
 * @param selector The selector to find the attribute certificates.
 * @return A possible empty collection with attribute certificates.
 * @throws StoreException
 */
public Collection getAttributeDescriptorCertificates(
    X509AttributeCertStoreSelector selector) throws StoreException
{
    String[] attrs = splitString(params.getAttributeDescriptorCertificateAttribute());
    String attrNames[] = splitString(params
        .getLdapAttributeDescriptorCertificateAttributeName());
    String subjectAttributeNames[] = splitString(params
        .getAttributeDescriptorCertificateSubjectAttributeName());

    List list = attrCertSubjectSerialSearch(selector, attrs, attrNames,
        subjectAttributeNames);
    Set resultSet = createAttributeCertificates(list, selector);
    if (resultSet.size() == 0)
    {
        X509AttributeCertStoreSelector emptySelector = new X509AttributeCertStoreSelector();
        list = attrCertSubjectSerialSearch(emptySelector, attrs, attrNames,
            subjectAttributeNames);
        resultSet.addAll(createAttributeCertificates(list, selector));
    }

    return resultSet;
}
 
开发者ID:thedrummeraki,项目名称:Aki-SSL,代码行数:34,代码来源:LDAPStoreHelper.java


示例18: getCACertificates

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns CA certificates.
 * <p>
 * The cACertificate attribute of a CA's directory entry shall be used to
 * store self-issued certificates (if any) and certificates issued to this
 * CA by CAs in the same realm as this CA.
 * </p>
 * @param selector The selector to find the certificates.
 * @return A possible empty collection with certificates.
 * @throws StoreException
 */
public Collection getCACertificates(X509CertStoreSelector selector)
    throws StoreException
{
    String[] attrs = splitString(params.getCACertificateAttribute());
    String attrNames[] = splitString(params.getLdapCACertificateAttributeName());
    String subjectAttributeNames[] = splitString(params
        .getCACertificateSubjectAttributeName());
    List list = certSubjectSerialSearch(selector, attrs, attrNames,
        subjectAttributeNames);
    Set resultSet = createCerts(list, selector);
    if (resultSet.size() == 0)
    {
        X509CertStoreSelector emptySelector = new X509CertStoreSelector();
        list = certSubjectSerialSearch(emptySelector, attrs, attrNames,
            subjectAttributeNames);
        resultSet.addAll(createCerts(list, selector));
    }
    return resultSet;
}
 
开发者ID:thedrummeraki,项目名称:Aki-SSL,代码行数:31,代码来源:LDAPStoreHelper.java


示例19: getAttributeCertificateAttributes

import org.bouncycastle.util.StoreException; //导入依赖的package包/类
/**
 * Returns an attribute certificate for an user.
 * <p>
 * The attributeCertificateAttribute holds the privileges of a user
 * </p>
 * @param selector The selector to find the attribute certificates.
 * @return A possible empty collection with attribute certificates.
 * @throws StoreException
 */
public Collection getAttributeCertificateAttributes(
    X509AttributeCertStoreSelector selector) throws StoreException
{
    String[] attrs = splitString(params.getAttributeCertificateAttributeAttribute());
    String attrNames[] = splitString(params
        .getLdapAttributeCertificateAttributeAttributeName());
    String subjectAttributeNames[] = splitString(params
        .getAttributeCertificateAttributeSubjectAttributeName());
    List list = attrCertSubjectSerialSearch(selector, attrs, attrNames,
        subjectAttributeNames);
    Set resultSet = createAttributeCertificates(list, selector);
    if (resultSet.size() == 0)
    {
        X509AttributeCertStoreSelector emptySelector = new X509AttributeCertStoreSelector();
        list = attrCertSubjectSerialSearch(emptySelector, attrs, attrNames,
            subjectAttributeNames);
        resultSet.addAll(createAttributeCertificates(list, selector));
    }

    return resultSet;
}
 
开发者ID:thedrummeraki,项目名称:Aki-SSL,代码行数:31,代码来源:LDAPStoreHelper.java



注:本文中的org.bouncycastle.util.StoreException类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java EaseAlertDialog类代码示例发布时间:2022-05-22
下一篇:
Java OnColorChangedListener类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap