diff options
author | mw <megan@cryptoworkshop.com> | 2020-08-31 10:30:31 +1000 |
---|---|---|
committer | mw <megan@cryptoworkshop.com> | 2020-08-31 10:30:31 +1000 |
commit | a71fda092163f5111197798e5f6dc6d39518add8 (patch) | |
tree | 09ecf3d69e5d880056a4568fb7edfa3a77208f2d /crypto/src/tsp/TimeStampTokenGenerator.cs | |
parent | Updated TimeStampTokenGenerator (diff) | |
download | BouncyCastle.NET-ed25519-a71fda092163f5111197798e5f6dc6d39518add8.tar.xz |
renamed DigestFactory to Asn1DigestFactory
Diffstat (limited to '')
-rw-r--r-- | crypto/src/tsp/TimeStampTokenGenerator.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/crypto/src/tsp/TimeStampTokenGenerator.cs b/crypto/src/tsp/TimeStampTokenGenerator.cs index 3441a18a2..76228761a 100644 --- a/crypto/src/tsp/TimeStampTokenGenerator.cs +++ b/crypto/src/tsp/TimeStampTokenGenerator.cs @@ -1,23 +1,16 @@ using System; using System.Collections; using System.IO; -using System.Runtime.InteropServices.ComTypes; using Org.BouncyCastle.Asn1; -using Org.BouncyCastle.Asn1.Cms; using Org.BouncyCastle.Asn1.Ess; -using Org.BouncyCastle.Asn1.Nist; using Org.BouncyCastle.Asn1.Oiw; using Org.BouncyCastle.Asn1.Pkcs; using Org.BouncyCastle.Asn1.Tsp; using Org.BouncyCastle.Asn1.X509; using Org.BouncyCastle.Cms; using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.IO; using Org.BouncyCastle.Crypto.Operators; -using Org.BouncyCastle.Crypto.Paddings; using Org.BouncyCastle.Math; -using Org.BouncyCastle.Security; -using Org.BouncyCastle.Security.Certificates; using Org.BouncyCastle.Utilities; using Org.BouncyCastle.X509; using Org.BouncyCastle.X509.Store; @@ -129,7 +122,7 @@ namespace Org.BouncyCastle.Tsp Asn1.Cms.AttributeTable signedAttr, Asn1.Cms.AttributeTable unsignedAttr) : this( makeInfoGenerator(key, cert, digestOID, signedAttr, unsignedAttr), - DigestFactory.Get(OiwObjectIdentifiers.IdSha1), + Asn1DigestFactory.Get(OiwObjectIdentifiers.IdSha1), tsaPolicyOID != null?new DerObjectIdentifier(tsaPolicyOID):null, false) { |