Ejemplo n.º 1
0
 public override IHasherAsync GetHasher() => new RsaSigner(CertificateFactory.GetSigningSha256Certificate(), Algorithms.Hash.Sha256);     // SHA1 also works with this cert
Ejemplo n.º 2
0
 static ICipherTasks GetCipherImpl() => new EncryptedNewKeySignedCipher(
     CertificateFactory.GetDecryptingSha256Certificate(),
     CertificateFactory.GetSigningSha256Certificate());                                             // SHA1 also works with this cert
Ejemplo n.º 3
0
            CertificateFactory.GetSigningSha256Certificate());                                             // SHA1 also works with this cert

        static ICipherAsync GetCipherPublicCertImpl() => new EncryptedNewKeySignedCipher(
            CertificateFactory.GetEncryptingSha256Certificate(),
            CertificateFactory.GetSigningSha256Certificate());                                                     // SHA1 also works with this cert