From 2cb630d54d8bed864d9547a7764090e586825774 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Fri, 24 Feb 2023 15:36:52 +0700 Subject: Extra constructor --- crypto/src/asn1/x509/AltSignatureAlgorithm.cs | 5 +++++ 1 file changed, 5 insertions(+) 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); -- cgit 1.4.1