diff options
Diffstat (limited to 'crypto/src/tsp/TimeStampResponseGenerator.cs')
-rw-r--r-- | crypto/src/tsp/TimeStampResponseGenerator.cs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/crypto/src/tsp/TimeStampResponseGenerator.cs b/crypto/src/tsp/TimeStampResponseGenerator.cs index a88320027..9a9c78678 100644 --- a/crypto/src/tsp/TimeStampResponseGenerator.cs +++ b/crypto/src/tsp/TimeStampResponseGenerator.cs @@ -1,5 +1,5 @@ using System; -using System.Collections; +using System.Collections.Generic; using System.IO; using Org.BouncyCastle.Asn1; @@ -23,30 +23,30 @@ namespace Org.BouncyCastle.Tsp private int failInfo; private TimeStampTokenGenerator tokenGenerator; - private IList acceptedAlgorithms; - private IList acceptedPolicies; - private IList acceptedExtensions; + private IList<string> acceptedAlgorithms; + private IList<string> acceptedPolicies; + private IList<string> acceptedExtensions; public TimeStampResponseGenerator( TimeStampTokenGenerator tokenGenerator, - IList acceptedAlgorithms) + IList<string> acceptedAlgorithms) : this(tokenGenerator, acceptedAlgorithms, null, null) { } public TimeStampResponseGenerator( TimeStampTokenGenerator tokenGenerator, - IList acceptedAlgorithms, - IList acceptedPolicy) + IList<string> acceptedAlgorithms, + IList<string> acceptedPolicy) : this(tokenGenerator, acceptedAlgorithms, acceptedPolicy, null) { } public TimeStampResponseGenerator( TimeStampTokenGenerator tokenGenerator, - IList acceptedAlgorithms, - IList acceptedPolicies, - IList acceptedExtensions) + IList<string> acceptedAlgorithms, + IList<string> acceptedPolicies, + IList<string> acceptedExtensions) { this.tokenGenerator = tokenGenerator; this.acceptedAlgorithms = acceptedAlgorithms; |