public void SetUp() { keyRepo = new TestKeyRepository(); service = new SignatureService(keyRepo); // Create a bundle var signatureHeader = new IssuerSignatureHeader(header); var ticketBundle = new TicketBundle(payload); issuerSignedTicketBundle = new IssuerSignedTicketBundle(ticketBundle); issuerSignedTicketBundle.Header = signatureHeader; issuerSignedTicketBundle.Signature = signature; }
public MtbHandler(IKeyRepository keyRepository) { _keyRepository = keyRepository; _service = new SignatureService(_keyRepository); }