예제 #1
0
        /// <summary>
        /// Validates the specified certification path using the specified
        /// algorithm parameter set.
        /// <para>
        /// The {@code CertPath} specified must be of a type that is
        /// supported by the validation algorithm, otherwise an
        /// {@code InvalidAlgorithmParameterException} will be thrown. For
        /// example, a {@code CertPathValidator} that implements the PKIX
        /// algorithm validates {@code CertPath} objects of type X.509.
        ///
        /// </para>
        /// </summary>
        /// <param name="certPath"> the {@code CertPath} to be validated </param>
        /// <param name="params"> the algorithm parameters </param>
        /// <returns> the result of the validation algorithm </returns>
        /// <exception cref="CertPathValidatorException"> if the {@code CertPath}
        /// does not validate </exception>
        /// <exception cref="InvalidAlgorithmParameterException"> if the specified
        /// parameters or the type of the specified {@code CertPath} are
        /// inappropriate for this {@code CertPathValidator} </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public abstract CertPathValidatorResult engineValidate(CertPath certPath, CertPathParameters params) throws CertPathValidatorException, java.security.InvalidAlgorithmParameterException;
        public abstract CertPathValidatorResult EngineValidate(CertPath certPath, CertPathParameters @params);
예제 #2
0
        /// <summary>
        /// Attempts to build a certification path using the specified algorithm
        /// parameter set.
        /// </summary>
        /// <param name="params"> the algorithm parameters </param>
        /// <returns> the result of the build algorithm </returns>
        /// <exception cref="CertPathBuilderException"> if the builder is unable to construct
        ///  a certification path that satisfies the specified parameters </exception>
        /// <exception cref="InvalidAlgorithmParameterException"> if the specified parameters
        /// are inappropriate for this {@code CertPathBuilder} </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public final CertPathBuilderResult build(CertPathParameters params) throws CertPathBuilderException, java.security.InvalidAlgorithmParameterException
        public CertPathBuilderResult Build(CertPathParameters @params)
        {
            return(BuilderSpi.EngineBuild(@params));
        }
예제 #3
0
        /// <summary>
        /// Attempts to build a certification path using the specified
        /// algorithm parameter set.
        /// </summary>
        /// <param name="params"> the algorithm parameters </param>
        /// <returns> the result of the build algorithm </returns>
        /// <exception cref="CertPathBuilderException"> if the builder is unable to construct
        /// a certification path that satisfies the specified parameters </exception>
        /// <exception cref="InvalidAlgorithmParameterException"> if the specified parameters
        /// are inappropriate for this {@code CertPathBuilder} </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public abstract CertPathBuilderResult engineBuild(CertPathParameters params) throws CertPathBuilderException, java.security.InvalidAlgorithmParameterException;
        public abstract CertPathBuilderResult EngineBuild(CertPathParameters @params);
예제 #4
0
        /// <summary>
        /// Validates the specified certification path using the specified
        /// algorithm parameter set.
        /// <para>
        /// The {@code CertPath} specified must be of a type that is
        /// supported by the validation algorithm, otherwise an
        /// {@code InvalidAlgorithmParameterException} will be thrown. For
        /// example, a {@code CertPathValidator} that implements the PKIX
        /// algorithm validates {@code CertPath} objects of type X.509.
        ///
        /// </para>
        /// </summary>
        /// <param name="certPath"> the {@code CertPath} to be validated </param>
        /// <param name="params"> the algorithm parameters </param>
        /// <returns> the result of the validation algorithm </returns>
        /// <exception cref="CertPathValidatorException"> if the {@code CertPath}
        /// does not validate </exception>
        /// <exception cref="InvalidAlgorithmParameterException"> if the specified
        /// parameters or the type of the specified {@code CertPath} are
        /// inappropriate for this {@code CertPathValidator} </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public final CertPathValidatorResult validate(CertPath certPath, CertPathParameters params) throws CertPathValidatorException, java.security.InvalidAlgorithmParameterException
        public CertPathValidatorResult Validate(CertPath certPath, CertPathParameters @params)
        {
            return(ValidatorSpi.EngineValidate(certPath, @params));
        }