diff options
Diffstat (limited to 'crypto/src/ocsp/OCSPReqGenerator.cs')
-rw-r--r-- | crypto/src/ocsp/OCSPReqGenerator.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/ocsp/OCSPReqGenerator.cs b/crypto/src/ocsp/OCSPReqGenerator.cs index 8032a4598..52890ae30 100644 --- a/crypto/src/ocsp/OCSPReqGenerator.cs +++ b/crypto/src/ocsp/OCSPReqGenerator.cs @@ -1,5 +1,5 @@ using System; -using System.Collections; +using System.Collections.Generic; using System.IO; using Org.BouncyCastle.Asn1; @@ -16,7 +16,7 @@ namespace Org.BouncyCastle.Ocsp { public class OcspReqGenerator { - private IList list = Platform.CreateArrayList(); + private List<RequestObject> list = new List<RequestObject>(); private GeneralName requestorName = null; private X509Extensions requestExtensions = null; @@ -235,7 +235,7 @@ namespace Org.BouncyCastle.Ocsp * * @return an IEnumerable containing recognised names. */ - public IEnumerable SignatureAlgNames + public IEnumerable<string> SignatureAlgNames { get { return OcspUtilities.AlgNames; } } |