diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-07-01 20:31:14 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-07-01 20:31:14 +0700 |
commit | 192a98faa4536772b03a5cd59b6e4ab4a2ec2461 (patch) | |
tree | 9a254e2c0d7ca92b7e8108c554c2c8dbc547f79d /crypto/src/asn1/cmp/PKIMessage.cs | |
parent | Refactoring in Asn1.X500 (diff) | |
download | BouncyCastle.NET-ed25519-192a98faa4536772b03a5cd59b6e4ab4a2ec2461.tar.xz |
Asn1Sequence subclass static methods
Diffstat (limited to 'crypto/src/asn1/cmp/PKIMessage.cs')
-rw-r--r-- | crypto/src/asn1/cmp/PKIMessage.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/cmp/PKIMessage.cs b/crypto/src/asn1/cmp/PKIMessage.cs index 7008a9e1c..a408fead5 100644 --- a/crypto/src/asn1/cmp/PKIMessage.cs +++ b/crypto/src/asn1/cmp/PKIMessage.cs @@ -52,7 +52,7 @@ namespace Org.BouncyCastle.Asn1.Cmp m_header = header ?? throw new ArgumentNullException(nameof(header)); m_body = body ?? throw new ArgumentNullException(nameof(body)); m_protection = protection; - m_extraCerts = extraCerts == null ? null : DerSequence.FromElements(extraCerts); + m_extraCerts = DerSequence.FromElementsOptional(extraCerts); } public PkiMessage(PkiHeader header, PkiBody body, DerBitString protection) |