summary refs log tree commit diff
path: root/crypto/src/asn1
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-02-24 15:36:52 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-02-24 15:36:52 +0700
commit2cb630d54d8bed864d9547a7764090e586825774 (patch)
tree7c891b09e73b78e79ca2d62145a6d34a7a5098ac /crypto/src/asn1
parentMerge branch 'release/v2.1' (diff)
downloadBouncyCastle.NET-ed25519-2cb630d54d8bed864d9547a7764090e586825774.tar.xz
Extra constructor
Diffstat (limited to 'crypto/src/asn1')
-rw-r--r--crypto/src/asn1/x509/AltSignatureAlgorithm.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/asn1/x509/AltSignatureAlgorithm.cs b/crypto/src/asn1/x509/AltSignatureAlgorithm.cs
index 0844de324..ad5e380af 100644
--- a/crypto/src/asn1/x509/AltSignatureAlgorithm.cs
+++ b/crypto/src/asn1/x509/AltSignatureAlgorithm.cs
@@ -55,6 +55,11 @@ namespace Org.BouncyCastle.Asn1.X509
             m_algorithm = algorithm;
         }
 
+        public AltSignatureAlgorithm(DerObjectIdentifier algorithm)
+            : this(algorithm, null)
+        {
+        }
+
         public AltSignatureAlgorithm(DerObjectIdentifier algorithm, Asn1Encodable parameters)
         {
             m_algorithm = new AlgorithmIdentifier(algorithm, parameters);