Skip to content

Commit

Permalink
Flag PublicKey and PublicKeys properties as obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
mattosaurus committed Oct 28, 2022
1 parent b6e9b9e commit ab435de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PgpCore/IEncryptionKeys.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using System.Collections.Generic;
using Org.BouncyCastle.Bcpg.OpenPgp;

Expand All @@ -16,7 +17,9 @@ public interface IEncryptionKeys
PgpPrivateKey SigningPrivateKey { get; }
PgpSecretKey SigningSecretKey { get; }
PgpPublicKey MasterKey { get; }
[Obsolete("This property is obsolete and will be removed in a future release. Use the MasterKey or EncryptKeys.FirstOrDefault() properties instead.")]
PgpPublicKey PublicKey { get; }
[Obsolete("This property is obsolete and will be removed in a future release. Use the MasterKey and EncryptKeys properties instead.")]
IEnumerable<PgpPublicKey> PublicKeys { get; }
PgpPrivateKey PrivateKey { get; }
PgpSecretKey SecretKey { get; }
Expand Down

0 comments on commit ab435de

Please sign in to comment.