예제 #1
0
 public MatchingSignatureStringVerificationTask(
     ISigningStringComposer signingStringComposer,
     IBase64Converter base64Converter,
     ILogger <MatchingSignatureStringVerificationTask> logger = null)
 {
     _signingStringComposer = signingStringComposer ?? throw new ArgumentNullException(nameof(signingStringComposer));
     _base64Converter       = base64Converter ?? throw new ArgumentNullException(nameof(base64Converter));
     _logger = logger;
 }
예제 #2
0
 public SignatureCreator(
     ISigningStringComposer signingStringComposer,
     IBase64Converter base64Converter,
     INonceGenerator nonceGenerator,
     ILogger <SignatureCreator> logger = null)
 {
     _signingStringComposer = signingStringComposer ?? throw new ArgumentNullException(nameof(signingStringComposer));
     _base64Converter       = base64Converter ?? throw new ArgumentNullException(nameof(base64Converter));
     _nonceGenerator        = nonceGenerator ?? throw new ArgumentNullException(nameof(nonceGenerator));
     _logger = logger;
 }
예제 #3
0
 public SignatureCreator(
     ISigningStringComposer signingStringComposer,
     IBase64Converter base64Converter,
     ISigningStringCompositionRequestFactory stringCompositionRequestFactory,
     ILogger <SignatureCreator> logger = null)
 {
     _signingStringComposer           = signingStringComposer ?? throw new ArgumentNullException(nameof(signingStringComposer));
     _base64Converter                 = base64Converter ?? throw new ArgumentNullException(nameof(base64Converter));
     _stringCompositionRequestFactory = stringCompositionRequestFactory ?? throw new ArgumentNullException(nameof(stringCompositionRequestFactory));
     _logger = logger;
 }