Example #1
0
 public InheritedEncryptedNewKeySignedCipher()
     : base(CertificateFactory.GetEncryptingCertificate(), CertificateFactory.GetSigningCertificate(), null)
 {
 }
Example #2
0
 static ICipherAsync GetCipherImpl() => new EncryptedNewKeySignedCipher(
     CertificateFactory.GetDecryptingSha256Certificate(),
     CertificateFactory.GetSigningCertificate());                                             // SHA1 also works with this cert
Example #3
0
            CertificateFactory.GetSigningCertificate());                                             // SHA1 also works with this cert

        static ICipherAsync GetPublicCertCipherImpl() => new EncryptedNewKeySignedCipher(
            CertificateFactory.GetEncryptingCertificate(),
            CertificateFactory.GetSigningCertificate());                                                     // default SHA1, SHA256 doesn't work here
Example #4
0
 public override IHasherTasks GetHasher() => new RsaSigner(CertificateFactory.GetSigningCertificate());