33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/dcmsign/sitypes.h"
40 typedef struct x509_store_st X509_STORE;
OFCondition addCertificateRevocationList(const char *fileName, int fileType)
loads a certificate revocation list (CRL) in X.509 format from a file and adds it to the pool of trus...
OFCondition addTrustedCertificateFile(const char *fileName, int fileType)
loads a certificate from a file and adds it to the pool of trusted certificates.
SiCertificateVerifier & operator=(SiCertificateVerifier &arg)
private undefined copy assignment operator
virtual ~SiCertificateVerifier()
destructor
a class representing X.509 public key certificates.
a class representing X.509 public key certificates.
OFCondition verifyCertificate(SiCertificate &certificate)
verifies a certificate against the known trusted CA certificates and certificate revocation lists...
OFCondition addTrustedCertificateDir(const char *pathName, int fileType)
loads all files as certificates from the specified directory and adds them to the pool of trusted cer...
SiCertificateVerifier()
default constructor
const char * lastError() const
returns an error string containing a textual description of the result of the last call to verifyCert...
long errorCode
OpenSSL X.509 certificate verification error code for the last operation.
General purpose class for condition codes.
X509_STORE * x509store
OpenSSL X.509 certificate store.