Qore Programming Language Reference Manual 1.18.1
Loading...
Searching...
No Matches
X.509 Verification Constants

Variables

const Qore::X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH = "X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH"
 Issuer name and serial number of candidate certificate do not match the authority key identifier of the current certificate.
 
const Qore::X509_V_ERR_AKID_SKID_MISMATCH = "X509_V_ERR_AKID_SKID_MISMATCH"
 The current candidate issuer certificate was rejected because its subject key identifier was present and did not match the authority key identifier of the current certificate.
 
const Qore::X509_V_ERR_APPLICATION_VERIFICATION = "X509_V_ERR_APPLICATION_VERIFICATION"
 Verification failure.
 
const Qore::X509_V_ERR_CERT_CHAIN_TOO_LONG = "X509_V_ERR_CERT_CHAIN_TOO_LONG"
 Certificate chain too long.
 
const Qore::X509_V_ERR_CERT_HAS_EXPIRED = "X509_V_ERR_CERT_HAS_EXPIRED"
 Certificate has expired.
 
const Qore::X509_V_ERR_CERT_NOT_YET_VALID = "X509_V_ERR_CERT_NOT_YET_VALID"
 Certificate is not yet valid.
 
const Qore::X509_V_ERR_CERT_REJECTED = "X509_V_ERR_CERT_REJECTED"
 Root CA is marked to reject the specified purpose.
 
const Qore::X509_V_ERR_CERT_REVOKED = "X509_V_ERR_CERT_REVOKED"
 Certificate has been revoked.
 
const Qore::X509_V_ERR_CERT_SIGNATURE_FAILURE = "X509_V_ERR_CERT_SIGNATURE_FAILURE"
 Certificate signature failure; the signature of the certificate is invalid.
 
const Qore::X509_V_ERR_CERT_UNTRUSTED = "X509_V_ERR_CERT_UNTRUSTED"
 Root CA is not marked as trusted for the specified purpose.
 
const Qore::X509_V_ERR_CRL_HAS_EXPIRED = "X509_V_ERR_CRL_HAS_EXPIRED"
 CRL has expired.
 
const Qore::X509_V_ERR_CRL_NOT_YET_VALID = "X509_V_ERR_CRL_NOT_YET_VALID"
 CRL is not yet valid.
 
const Qore::X509_V_ERR_CRL_SIGNATURE_FAILURE = "X509_V_ERR_CRL_SIGNATURE_FAILURE"
 CRL signature failure; the signature of the certificate is invalid.
 
const Qore::X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT = "X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT"
 Certificate is self-signed and cannot be found in the trusted list.
 
const Qore::X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD = "X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD"
 Format error in certificate's notAfter field (invalid time)
 
const Qore::X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD = "X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD"
 Format error in certificate's notBefore field (invalid time)
 
const Qore::X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD = "X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD"
 Format error in CRL's lastUpdate field (invalid time)
 
const Qore::X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD = "X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD"
 Format error in CRL's nextUpdate field (invalid time)
 
const Qore::X509_V_ERR_INVALID_CA = "X509_V_ERR_INVALID_CA"
 Invalid CA certificate.
 
const Qore::X509_V_ERR_INVALID_PURPOSE = "X509_V_ERR_INVALID_PURPOSE"
 The certificate cannot be used for the specified purpose.
 
const Qore::X509_V_ERR_KEYUSAGE_NO_CERTSIGN = "X509_V_ERR_KEYUSAGE_NO_CERTSIGN"
 The keyUsage extension does not permit certificate signing.
 
const Qore::X509_V_ERR_OUT_OF_MEM = "X509_V_ERR_OUT_OF_MEM"
 Out of memory error.
 
const Qore::X509_V_ERR_PATH_LENGTH_EXCEEDED = "X509_V_ERR_PATH_LENGTH_EXCEEDED"
 The basicConstraints pathlength parameter has been exceeded.
 
const Qore::X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN = "X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN"
 Self signed certificate in certificate chain.
 
const Qore::X509_V_ERR_SUBJECT_ISSUER_MISMATCH = "X509_V_ERR_SUBJECT_ISSUER_MISMATCH"
 The current candidate issuer certificate was rejected because its subject name did not match the issuer name of the current certificate.
 
const Qore::X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY = "X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY"
 Unable to decode issuer public key (SubjectPublicKeyInfo)
 
const Qore::X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE = "X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE"
 Unable to decrypt certificate's signature. This means that the actual signature value could not be determined rather than it not matching the expected value; this is only meaningful for RSA.
 
const Qore::X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE = "X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE"
 Unable to decrypt CRL's signature.
 
const Qore::X509_V_ERR_UNABLE_TO_GET_CRL = "X509_V_ERR_UNABLE_TO_GET_CRL"
 Unable to get certificate CRL.
 
const Qore::X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT = "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT"
 Unable to get issuer certificate.
 
const Qore::X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY = "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY"
 Unable to get local issuer certificate. This normally means the list of trusted certificates is not complete.
 
const Qore::X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE = "X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE"
 Unable to verify the first certificate.
 
const Qore::X509_V_OK = "X509_V_OK"
 Verification OK.
 
const Qore::X509_VerificationReasons
 maps from varification strings to verification code descriptions
 

Detailed Description

These are string contants for values returned by the following methods: