diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-21 00:26:34 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-07-21 00:26:34 +0700 |
commit | 9f36987f992075b2f61214f6d83433efd597e93e (patch) | |
tree | 4cc2e19d8dc1229479acbcdf2bb62811b0344785 /crypto/src/asn1/cmp/PKIStatus.cs | |
parent | Refactoring in Asn1.Cms (diff) | |
download | BouncyCastle.NET-ed25519-9f36987f992075b2f61214f6d83433efd597e93e.tar.xz |
Refactoring in Asn1.Cmp
Diffstat (limited to 'crypto/src/asn1/cmp/PKIStatus.cs')
-rw-r--r-- | crypto/src/asn1/cmp/PKIStatus.cs | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/crypto/src/asn1/cmp/PKIStatus.cs b/crypto/src/asn1/cmp/PKIStatus.cs index 72b0c7403..0a7e9e958 100644 --- a/crypto/src/asn1/cmp/PKIStatus.cs +++ b/crypto/src/asn1/cmp/PKIStatus.cs @@ -41,7 +41,7 @@ namespace Org.BouncyCastle.Asn1.Cmp return GetInstance(DerInteger.GetInstance(taggedObject, declaredExplicit)); } - private readonly DerInteger status; + private readonly DerInteger m_status; private PkiStatusEncodable(PkiStatus status) : this(new DerInteger((int)status)) @@ -50,17 +50,11 @@ namespace Org.BouncyCastle.Asn1.Cmp private PkiStatusEncodable(DerInteger status) { - this.status = status; + m_status = status; } - public virtual BigInteger Value - { - get { return status.Value; } - } + public virtual BigInteger Value => m_status.Value; - public override Asn1Object ToAsn1Object() - { - return status; - } + public override Asn1Object ToAsn1Object() => m_status; } } |