CreateCrlStore() private method

private CreateCrlStore ( string type, Asn1Set crlSet ) : IX509Store
type string
crlSet Org.BouncyCastle.Asn1.Asn1Set
return IX509Store
示例#1
0
 public IX509Store GetCrls(string type)
 {
     if (crlStore == null)
     {
         crlStore = Helper.CreateCrlStore(type, signedData.CRLs);
     }
     return(crlStore);
 }
示例#2
0
 public IX509Store GetCrls(string type)
 {
     if (_crlStore == null)
     {
         PopulateCertCrlSets();
         _crlStore = Helper.CreateCrlStore(type, _crlSet);
     }
     return(_crlStore);
 }
示例#3
0
        /**
         * return a Store containing CRLs, if any, contained
         * in this message.
         *
         * @param type type of store to create
         * @return a store of CRLs
         * @exception NoSuchStoreException if the store type isn't available.
         * @exception CmsException if a general exception prevents creation of the X509Store
         */
        public IStore <X509Crl> GetCrls()
        {
            if (crlStore == null)
            {
                crlStore = Helper.CreateCrlStore(signedData.CRLs);
            }

            return(crlStore);
        }
示例#4
0
        /**
         * return a X509Store containing CRLs, if any, contained
         * in this message.
         *
         * @param type type of store to create
         * @return a store of CRLs
         * @exception NoSuchStoreException if the store type isn't available.
         * @exception CmsException if a general exception prevents creation of the X509Store
         */
        public IStore <X509Crl> GetCrls()
        {
            if (_crlStore == null)
            {
                PopulateCertCrlSets();

                _crlStore = Helper.CreateCrlStore(_crlSet);
            }

            return(_crlStore);
        }