diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-09-18 21:16:28 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-09-18 21:16:28 +0700 |
commit | 92c99a5571303e4aa46dc730f45ae2e34db769f1 (patch) | |
tree | c62203d765ed2f893736afe2df1cbcb587a7102e /crypto/src/openpgp/PgpSignatureSubpacketVector.cs | |
parent | Add missing default and improve extensions handling (diff) | |
download | BouncyCastle.NET-ed25519-92c99a5571303e4aa46dc730f45ae2e34db769f1.tar.xz |
Code cleanup (from Java build)
Diffstat (limited to 'crypto/src/openpgp/PgpSignatureSubpacketVector.cs')
-rw-r--r-- | crypto/src/openpgp/PgpSignatureSubpacketVector.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/src/openpgp/PgpSignatureSubpacketVector.cs b/crypto/src/openpgp/PgpSignatureSubpacketVector.cs index 156243f4e..1d3d75941 100644 --- a/crypto/src/openpgp/PgpSignatureSubpacketVector.cs +++ b/crypto/src/openpgp/PgpSignatureSubpacketVector.cs @@ -74,7 +74,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp return result; } - public NotationData[] GetNotationDataOccurences() + public NotationData[] GetNotationDataOccurrences() { SignatureSubpacket[] notations = GetSubpackets(SignatureSubpacketTag.NotationData); NotationData[] vals = new NotationData[notations.Length]; @@ -87,6 +87,12 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp return vals; } + [Obsolete("Use 'GetNotationDataOccurrences' instead")] + public NotationData[] GetNotationDataOccurences() + { + return GetNotationDataOccurrences(); + } + public long GetIssuerKeyId() { SignatureSubpacket p = GetSubpacket(SignatureSubpacketTag.IssuerKeyId); |