Exemple #1
0
 public InheritedEncryptedNewKeySignedCipher()
     : base(CertificateFactory.GetEncryptingCertificate(), CertificateFactory.GetSigningCertificate(), null)
 {
 }
Exemple #2
0
 static ICipherAsync GetCipherImpl() => new EncryptedNewKeySignedCipher(
     CertificateFactory.GetDecryptingSha256Certificate(),
     CertificateFactory.GetSigningCertificate());                                             // SHA1 also works with this cert
Exemple #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
Exemple #4
0
 public override IHasherTasks GetHasher() => new RsaSigner(CertificateFactory.GetSigningCertificate());