CreateAttributeStore() приватный Метод

private CreateAttributeStore ( string type, Asn1Set certSet ) : IX509Store
type string
certSet Org.BouncyCastle.Asn1.Asn1Set
Результат IX509Store
Пример #1
0
 public IX509Store GetAttributeCertificates(string type)
 {
     if (attrCertStore == null)
     {
         attrCertStore = Helper.CreateAttributeStore(type, signedData.Certificates);
     }
     return(attrCertStore);
 }
Пример #2
0
 public IX509Store GetAttributeCertificates(string type)
 {
     if (_attributeStore == null)
     {
         PopulateCertCrlSets();
         _attributeStore = Helper.CreateAttributeStore(type, _certSet);
     }
     return(_attributeStore);
 }
Пример #3
0
        /**
         * return a X509Store containing the attribute certificates, if any, contained
         * in this message.
         *
         * @param type type of store to create
         * @return a store of attribute certificates
         * @exception org.bouncycastle.x509.NoSuchStoreException if the store type isn't available.
         * @exception CmsException if a general exception prevents creation of the X509Store
         */
        public IStore <X509V2AttributeCertificate> GetAttributeCertificates()
        {
            if (_attributeStore == null)
            {
                PopulateCertCrlSets();

                _attributeStore = Helper.CreateAttributeStore(_certSet);
            }

            return(_attributeStore);
        }