diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-02 22:41:33 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-02 22:41:33 +0700 |
commit | 9b3a32dccb95b0ca8f0c683e5f494d37a87ff7cc (patch) | |
tree | e411f0d13509673289fd6aebd2f1537086b10b6a /crypto/src/openpgp | |
parent | SHA3: one-shot methods for internal use (diff) | |
download | BouncyCastle.NET-ed25519-9b3a32dccb95b0ca8f0c683e5f494d37a87ff7cc.tar.xz |
Fix obsolete usage
Diffstat (limited to '')
-rw-r--r-- | crypto/src/openpgp/PgpKeyRingGenerator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/openpgp/PgpKeyRingGenerator.cs b/crypto/src/openpgp/PgpKeyRingGenerator.cs index 03b4f644f..a04ebc7df 100644 --- a/crypto/src/openpgp/PgpKeyRingGenerator.cs +++ b/crypto/src/openpgp/PgpKeyRingGenerator.cs @@ -355,7 +355,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp PgpSignatureSubpacketGenerator spGen = new PgpSignatureSubpacketGenerator(hashedPackets); - spGen.SetEmbeddedSignature(false, + spGen.AddEmbeddedSignature(false, pGen.GenerateCertification(masterKey.PublicKey, keyPair.PublicKey)); sGen.SetHashedSubpackets(spGen.Generate()); |