diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-02-24 15:36:52 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-02-24 15:36:52 +0700 |
commit | 2cb630d54d8bed864d9547a7764090e586825774 (patch) | |
tree | 7c891b09e73b78e79ca2d62145a6d34a7a5098ac /crypto/src/asn1 | |
parent | Merge branch 'release/v2.1' (diff) | |
download | BouncyCastle.NET-ed25519-2cb630d54d8bed864d9547a7764090e586825774.tar.xz |
Extra constructor
Diffstat (limited to 'crypto/src/asn1')
-rw-r--r-- | crypto/src/asn1/x509/AltSignatureAlgorithm.cs | 5 |
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); |