diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-28 15:37:25 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-28 15:37:25 +0700 |
commit | 3ce45e18811232677715a3bf4ba144a72b639942 (patch) | |
tree | 228c87fb260e125c66b34334cedb9b34b07a4dac /crypto/src/ocsp/OCSPReqGenerator.cs | |
parent | Generics migration in Crmf, Crypto, Math (diff) | |
download | BouncyCastle.NET-ed25519-3ce45e18811232677715a3bf4ba144a72b639942.tar.xz |
Generics migration in Ocsp, OpenPgp
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; } } |