summary refs log tree commit diff
path: root/crypto/src/crmf
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/crmf')
-rw-r--r--crypto/src/crmf/CertificateRequestMessage.cs8
1 files changed, 4 insertions, 4 deletions
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
         /// <returns>true if proof-of-possession is present, false otherwise.</returns>
         public bool HasProofOfPossession
         {
-            get { return certReqMsg.Popo != null; }
+            get { return certReqMsg.Pop != null; }
         }
 
         /// <summary>
@@ -139,7 +139,7 @@ namespace Org.BouncyCastle.Crmf
         /// <returns>one of: popRaVerified, popSigningKey, popKeyEncipherment, popKeyAgreement</returns>
         public int ProofOfPossession
         {
-            get { return certReqMsg.Popo.Type; }
+            get { return certReqMsg.Pop.Type; }
         }
 
         /// <summary>
@@ -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
         /// <exception cref="InvalidOperationException">if POP not appropriate.</exception>
         public bool IsValidSigningKeyPop(IVerifierFactoryProvider verifierProvider)
         {
-            ProofOfPossession pop = certReqMsg.Popo;
+            ProofOfPossession pop = certReqMsg.Pop;
             if (pop.Type == popSigningKey)
             {
                 PopoSigningKey popoSign = PopoSigningKey.GetInstance(pop.Object);