public InheritedEncryptedNewKeySignedCipher() : base(CertificateFactory.GetEncryptingCertificate(), CertificateFactory.GetSigningCertificate(), null) { }
static ICipherAsync GetCipherImpl() => new EncryptedNewKeySignedCipher( CertificateFactory.GetDecryptingSha256Certificate(), CertificateFactory.GetSigningCertificate()); // SHA1 also works with this cert
CertificateFactory.GetSigningCertificate()); // SHA1 also works with this cert static ICipherAsync GetPublicCertCipherImpl() => new EncryptedNewKeySignedCipher( CertificateFactory.GetEncryptingCertificate(), CertificateFactory.GetSigningCertificate()); // default SHA1, SHA256 doesn't work here
public override IHasherTasks GetHasher() => new RsaSigner(CertificateFactory.GetSigningCertificate());