private OcspResponder(CertificateAuthority certificateAuthority, OcspResponderOptions options) { CertificateAuthority = certificateAuthority; Url = certificateAuthority.OcspResponderUri; _options = options; _responses = new ConcurrentDictionary <string, DateTimeOffset>(StringComparer.OrdinalIgnoreCase); }
public static OcspResponder Create( CertificateAuthority certificateAuthority, OcspResponderOptions options = null) { if (certificateAuthority == null) { throw new ArgumentNullException(nameof(certificateAuthority)); } options = options ?? new OcspResponderOptions(); return(new OcspResponder(certificateAuthority, options)); }
private OcspResponder(CertificateAuthority certificateAuthority, OcspResponderOptions options) { CertificateAuthority = certificateAuthority; Url = certificateAuthority.OcspResponderUri; _options = options; }