summary refs log tree commit diff
path: root/crypto/src/x509/X509V2AttributeCertificate.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-03-27 17:24:04 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-03-27 17:24:04 +0700
commitd1a2782503a4eb67da62527ff08132d0cc87ab77 (patch)
treed73e841f96f422e9f78aab238cd60795c605661e /crypto/src/x509/X509V2AttributeCertificate.cs
parentRework SIgnedPublicKeyAndChallenge (diff)
downloadBouncyCastle.NET-ed25519-d1a2782503a4eb67da62527ff08132d0cc87ab77.tar.xz
Refactoring
Diffstat (limited to 'crypto/src/x509/X509V2AttributeCertificate.cs')
-rw-r--r--crypto/src/x509/X509V2AttributeCertificate.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/x509/X509V2AttributeCertificate.cs b/crypto/src/x509/X509V2AttributeCertificate.cs
index 84bf0db54..626d14572 100644
--- a/crypto/src/x509/X509V2AttributeCertificate.cs
+++ b/crypto/src/x509/X509V2AttributeCertificate.cs
@@ -161,6 +161,7 @@ namespace Org.BouncyCastle.X509
             return cert.GetSignatureOctets();
 		}
 
+        // TODO[api] Rename 'key' to 'publicKey'
         public virtual bool IsSignatureValid(AsymmetricKeyParameter key)
         {
             return CheckSignatureValid(new Asn1VerifierFactory(cert.SignatureAlgorithm, key));
@@ -171,6 +172,7 @@ namespace Org.BouncyCastle.X509
             return CheckSignatureValid(verifierProvider.CreateVerifierFactory(cert.SignatureAlgorithm));
         }
 
+        // TODO[api] Rename 'key' to 'publicKey'
         public virtual void Verify(AsymmetricKeyParameter key)
         {
             CheckSignature(new Asn1VerifierFactory(cert.SignatureAlgorithm, key));