| Top |
| xmlSecKeyDataId | xmlSecOpenSSLKeyDataX509GetKlass () |
| X509 * | xmlSecOpenSSLKeyDataX509GetKeyCert () |
| int | xmlSecOpenSSLKeyDataX509AdoptKeyCert () |
| int | xmlSecOpenSSLKeyDataX509AdoptCert () |
| X509 * | xmlSecOpenSSLKeyDataX509GetCert () |
| xmlSecSize | xmlSecOpenSSLKeyDataX509GetCertsSize () |
| int | xmlSecOpenSSLKeyDataX509AdoptCrl () |
| X509_CRL * | xmlSecOpenSSLKeyDataX509GetCrl () |
| xmlSecSize | xmlSecOpenSSLKeyDataX509GetCrlsSize () |
| xmlSecKeyDataPtr | xmlSecOpenSSLX509CertGetKey () |
| xmlSecKeyDataId | xmlSecOpenSSLKeyDataRawX509CertGetKlass () |
| xmlSecKeyDataStoreId | xmlSecOpenSSLX509StoreGetKlass () |
| X509 * | xmlSecOpenSSLX509StoreFindCert () |
| X509 * | xmlSecOpenSSLX509StoreVerify () |
| int | xmlSecOpenSSLX509StoreAdoptCert () |
| int | xmlSecOpenSSLX509StoreAdoptCrl () |
| int | xmlSecOpenSSLX509StoreAddCertsPath () |
| int | xmlSecOpenSSLX509StoreAddCertsFile () |
| #define | XMLSEC_STACK_OF_X509 |
| #define | XMLSEC_STACK_OF_X509_CRL |
| #define | xmlSecOpenSSLKeyDataX509Id |
| #define | xmlSecOpenSSLKeyDataRawX509CertId |
| #define | xmlSecOpenSSLX509StoreId |
xmlSecKeyDataId
xmlSecOpenSSLKeyDataX509GetKlass (void);
The OpenSSL X509 key data klass (http://www.w3.org/TR/xmldsig-core/sec-X509Data).
X509 *
xmlSecOpenSSLKeyDataX509GetKeyCert (xmlSecKeyDataPtr data);
Gets the certificate from which the key was extracted.
int xmlSecOpenSSLKeyDataX509AdoptKeyCert (xmlSecKeyDataPtr data,X509 *cert);
Sets the key's certificate in data
.
int xmlSecOpenSSLKeyDataX509AdoptCert (xmlSecKeyDataPtr data,X509 *cert);
Adds certificate to the X509 key data.
X509 * xmlSecOpenSSLKeyDataX509GetCert (xmlSecKeyDataPtr data,xmlSecSize pos);
Gets a certificate from X509 key data.
xmlSecSize
xmlSecOpenSSLKeyDataX509GetCertsSize (xmlSecKeyDataPtr data);
Gets the number of certificates in data
.
int xmlSecOpenSSLKeyDataX509AdoptCrl (xmlSecKeyDataPtr data,X509_CRL *crl);
Adds CRL to the X509 key data.
X509_CRL * xmlSecOpenSSLKeyDataX509GetCrl (xmlSecKeyDataPtr data,xmlSecSize pos);
Gets a CRL from X509 key data.
xmlSecSize
xmlSecOpenSSLKeyDataX509GetCrlsSize (xmlSecKeyDataPtr data);
Gets the number of CRLs in data
.
xmlSecKeyDataPtr
xmlSecOpenSSLX509CertGetKey (X509 *cert);
Extracts public key from the cert
.
xmlSecKeyDataId
xmlSecOpenSSLKeyDataRawX509CertGetKlass
(void);
The raw X509 certificates key data klass.
xmlSecKeyDataStoreId
xmlSecOpenSSLX509StoreGetKlass (void);
The OpenSSL X509 certificates key data store klass.
X509 * xmlSecOpenSSLX509StoreFindCert (xmlSecKeyDataStorePtr store,xmlChar *subjectName,xmlChar *issuerName,xmlChar *issuerSerial,xmlChar *ski,xmlSecKeyInfoCtx *keyInfoCtx);
Searches store
for a certificate that matches given criteria.
store |
the pointer to X509 key data store klass. |
|
subjectName |
the desired certificate name. |
|
issuerName |
the desired certificate issuer name. |
|
issuerSerial |
the desired certificate issuer serial number. |
|
ski |
the desired certificate SKI. |
|
keyInfoCtx |
the pointer to <dsig:KeyInfo/> element processing context. |
X509 * xmlSecOpenSSLX509StoreVerify (xmlSecKeyDataStorePtr store,XMLSEC_STACK_OF_X509 *certs,XMLSEC_STACK_OF_X509_CRL *crls,xmlSecKeyInfoCtx *keyInfoCtx);
Verifies certs
list.
store |
the pointer to X509 key data store klass. |
|
certs |
the untrusted certificates stack. |
|
crls |
the crls stack. |
|
keyInfoCtx |
the pointer to <dsig:KeyInfo/> element processing context. |
int xmlSecOpenSSLX509StoreAdoptCert (xmlSecKeyDataStorePtr store,X509 *cert,xmlSecKeyDataType type);
Adds trusted (root) or untrusted certificate to the store.
int xmlSecOpenSSLX509StoreAdoptCrl (xmlSecKeyDataStorePtr store,X509_CRL *crl);
Adds X509 CRL to the store.
int xmlSecOpenSSLX509StoreAddCertsPath (xmlSecKeyDataStorePtr store,const char *path);
Adds all certs in the path
to the list of trusted certs
in store
.
int xmlSecOpenSSLX509StoreAddCertsFile (xmlSecKeyDataStorePtr store,const char *filename);
Adds all certs in file
to the list of trusted certs
in store
. It is possible for file
to contain multiple certs.