public JwsParser(ICreateJwsSignature createJwsSignature)
 {
     _createJwsSignature  = createJwsSignature;
     _jsonWebKeyConverter = new JsonWebKeyConverter();
 }
Exemple #2
0
 public JwsGenerator(ICreateJwsSignature createJwsSignature)
 {
     _createJwsSignature = createJwsSignature;
 }
Exemple #3
0
 private void InitializeFakeObjects()
 {
     _cngKeySerializer   = new Mock <ICngKeySerializer>();
     _createJwsSignature = new CreateJwsSignature(_cngKeySerializer.Object);
 }
Exemple #4
0
 public JwsParser(ICreateJwsSignature createJwsSignature)
 {
     _createJwsSignature = createJwsSignature;
 }