summary refs log tree commit diff
path: root/crypto/src/crypto/ISignatureVerifierProvider.cs
blob: 39264f50ee19ee7d4894a117abc7618287e6a254 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;

namespace Org.BouncyCastle.Crypto
{
    /// <summary>
    /// Base interface for a provider to support the dynamic creation of signature verifiers.
    /// </summary>
    public interface ISignatureVerifierProvider<A>
	{
        /// <summary>
        /// Return a signature verfier for signature algorithm described in the passed in algorithm details object.
        /// </summary>
        /// <param name="algorithmDetails">The details of the signature algorithm verification is required for.</param>
        /// <returns>A new signature verifier.</returns>
		ISignatureVerifier<A> CreateSignatureVerifier (A algorithmDetails);
	}
}