diff options
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/crmf/CertificateRequestMessageBuilder.cs | 6 | ||||
-rw-r--r-- | crypto/src/crypto/operators/Asn1DigestFactory.cs | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/crypto/src/crmf/CertificateRequestMessageBuilder.cs b/crypto/src/crmf/CertificateRequestMessageBuilder.cs index 84c9b7966..34a224df1 100644 --- a/crypto/src/crmf/CertificateRequestMessageBuilder.cs +++ b/crypto/src/crmf/CertificateRequestMessageBuilder.cs @@ -187,10 +187,8 @@ namespace Org.BouncyCastle.Crmf } #endif - public CertificateRequestMessageBuilder SetAuthInfoSender(X509Name sender) - { - return SetAuthInfoSender(new GeneralName(sender)); - } + public CertificateRequestMessageBuilder SetAuthInfoSender(X509Name sender) => + SetAuthInfoSender(new GeneralName(sender)); public CertificateRequestMessageBuilder SetAuthInfoSender(GeneralName sender) { diff --git a/crypto/src/crypto/operators/Asn1DigestFactory.cs b/crypto/src/crypto/operators/Asn1DigestFactory.cs index 753047937..ae34b4ea5 100644 --- a/crypto/src/crypto/operators/Asn1DigestFactory.cs +++ b/crypto/src/crypto/operators/Asn1DigestFactory.cs @@ -8,7 +8,7 @@ namespace Org.BouncyCastle.Crypto.Operators : IDigestFactory { public static Asn1DigestFactory Get(DerObjectIdentifier oid) => - new Asn1DigestFactory(DigestUtilities.GetDigest(oid), oid); + new Asn1DigestFactory(DigestUtilities.GetDigest(oid), oid); public static Asn1DigestFactory Get(string mechanism) => Get(DigestUtilities.GetObjectIdentifier(mechanism)); |