From 2af5fb18597085a765f59e6a808bf79155560359 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Thu, 20 Jul 2023 13:01:32 +0700 Subject: Refactoring in Asn1.Crmf --- crypto/src/crmf/CertificateRequestMessage.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crypto/src/crmf') diff --git a/crypto/src/crmf/CertificateRequestMessage.cs b/crypto/src/crmf/CertificateRequestMessage.cs index 36149c791..d71e85e1f 100644 --- a/crypto/src/crmf/CertificateRequestMessage.cs +++ b/crypto/src/crmf/CertificateRequestMessage.cs @@ -130,7 +130,7 @@ namespace Org.BouncyCastle.Crmf /// true if proof-of-possession is present, false otherwise. public bool HasProofOfPossession { - get { return certReqMsg.Popo != null; } + get { return certReqMsg.Pop != null; } } /// @@ -139,7 +139,7 @@ namespace Org.BouncyCastle.Crmf /// one of: popRaVerified, popSigningKey, popKeyEncipherment, popKeyAgreement public int ProofOfPossession { - get { return certReqMsg.Popo.Type; } + get { return certReqMsg.Pop.Type; } } /// @@ -151,7 +151,7 @@ namespace Org.BouncyCastle.Crmf { get { - ProofOfPossession pop = certReqMsg.Popo; + ProofOfPossession pop = certReqMsg.Pop; if (pop.Type == popSigningKey) { @@ -173,7 +173,7 @@ namespace Org.BouncyCastle.Crmf /// if POP not appropriate. public bool IsValidSigningKeyPop(IVerifierFactoryProvider verifierProvider) { - ProofOfPossession pop = certReqMsg.Popo; + ProofOfPossession pop = certReqMsg.Pop; if (pop.Type == popSigningKey) { PopoSigningKey popoSign = PopoSigningKey.GetInstance(pop.Object); -- cgit 1.4.1