示例#1
0
 public CryptoProvider(ISymmetricKeyProvider keyProvider, IIssuerConfig issuerConfig, IConsumerConfig consumerConfig, ICngKeyProvider cngKeyProvider, IEccPublicKeyProvider eccPublicKeyProvider, IRsaPublicKeyProvider rsaPublicKeyProvider)
 {
     this.issuerConfig     = issuerConfig;
     _keyProvider          = keyProvider;
     _consumerConfig       = consumerConfig;
     _cngKeyProvider       = cngKeyProvider;
     _eccPublicKeyProvider = eccPublicKeyProvider;
     _rsaPublicKeyProvider = rsaPublicKeyProvider;
 }
示例#2
0
 public EccValidation(IEccPublicKeyProvider keyProvider)
 {
     _keyProvider = keyProvider;
     ;
 }