示例#1
0
 /// <summary>
 /// Creates a {@code CertStore} object of the given type, and
 /// encapsulates the given provider implementation (SPI object) in it.
 /// </summary>
 /// <param name="storeSpi"> the provider implementation </param>
 /// <param name="provider"> the provider </param>
 /// <param name="type"> the type </param>
 /// <param name="params"> the initialization parameters (may be {@code null}) </param>
 protected internal CertStore(CertStoreSpi storeSpi, Provider provider, String type, CertStoreParameters @params)
 {
     this.StoreSpi         = storeSpi;
     this.Provider_Renamed = provider;
     this.Type_Renamed     = type;
     if (@params != null)
     {
         this.@params = (CertStoreParameters)@params.Clone();
     }
 }
示例#2
0
        /// <summary>
        /// The sole constructor.
        /// </summary>
        /// <param name="params"> the initialization parameters (may be {@code null}) </param>
        /// <exception cref="InvalidAlgorithmParameterException"> if the initialization
        /// parameters are inappropriate for this {@code CertStoreSpi} </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public CertStoreSpi(CertStoreParameters params) throws java.security.InvalidAlgorithmParameterException
        public CertStoreSpi(CertStoreParameters @params)
        {
        }