diff options
Diffstat (limited to 'crypto/src/asn1/x509/AltSignatureAlgorithm.cs')
-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); |