<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-preview.4.26230.115" />

System.Security.Cryptography.X509Certificates.ErrorCode

static class ErrorCode
namespace System.Security.Cryptography.X509Certificates { internal static class ErrorCode { public const int CERT_E_CHAINING = -2146762486; public const int CERT_E_CRITICAL = -2146762491; public const int CERT_E_EXPIRED = -2146762495; public const int CERT_E_INVALID_NAME = -2146762476; public const int CERT_E_INVALID_POLICY = -2146762477; public const int CERT_E_UNTRUSTEDROOT = -2146762487; public const int CERT_E_VALIDITYPERIODNESTING = -2146762494; public const int CERT_E_WRONG_USAGE = -2146762480; public const int CERTSRV_E_WEAK_SIGNATURE_OR_KEY = -2146877418; public const int CRYPT_E_NO_REVOCATION_CHECK = -2146885614; public const int CRYPT_E_NOT_FOUND = -2146885628; public const int CRYPT_E_REVOCATION_OFFLINE = -2146885613; public const int CRYPT_E_REVOKED = -2146885616; public const int CRYPT_E_SIGNER_NOT_FOUND = -2146889714; public const int E_POINTER = -2147467261; public const int ERROR_INVALID_PARAMETER = 87; public const int HRESULT_INVALID_HANDLE = -2147024890; public const int NTE_BAD_PUBLIC_KEY = -2146893803; public const int TRUST_E_BASIC_CONSTRAINTS = -2146869223; public const int TRUST_E_CERT_SIGNATURE = -2146869244; public const int TRUST_E_EXPLICIT_DISTRUST = -2146762479; } }