Top |
xmlSecKeyDataId | xmlSecGnuTLSKeyDataX509GetKlass () |
gnutls_x509_crt_t | xmlSecGnuTLSKeyDataX509GetKeyCert () |
int | xmlSecGnuTLSKeyDataX509AdoptKeyCert () |
int | xmlSecGnuTLSKeyDataX509AdoptCert () |
gnutls_x509_crt_t | xmlSecGnuTLSKeyDataX509GetCert () |
xmlSecSize | xmlSecGnuTLSKeyDataX509GetCertsSize () |
int | xmlSecGnuTLSKeyDataX509AdoptCrl () |
gnutls_x509_crl_t | xmlSecGnuTLSKeyDataX509GetCrl () |
xmlSecSize | xmlSecGnuTLSKeyDataX509GetCrlsSize () |
xmlSecKeyDataPtr | xmlSecGnuTLSX509CertGetKey () |
xmlSecKeyDataId | xmlSecGnuTLSKeyDataRawX509CertGetKlass () |
xmlSecKeyDataStoreId | xmlSecGnuTLSX509StoreGetKlass () |
gnutls_x509_crt_t | xmlSecGnuTLSX509StoreVerify () |
int | xmlSecGnuTLSX509StoreAdoptCert () |
int | xmlSecGnuTLSX509StoreAdoptCrl () |
#define | xmlSecGnuTLSKeyDataX509Id |
#define | xmlSecGnuTLSKeyDataRawX509CertId |
#define | xmlSecGnuTLSX509StoreId |
xmlSecKeyDataId
xmlSecGnuTLSKeyDataX509GetKlass (void
);
The GnuTLS X509 key data klass (http://www.w3.org/TR/xmldsig-core/sec-X509Data).
gnutls_x509_crt_t
xmlSecGnuTLSKeyDataX509GetKeyCert (xmlSecKeyDataPtr data
);
Gets the certificate from which the key was extracted.
int xmlSecGnuTLSKeyDataX509AdoptKeyCert (xmlSecKeyDataPtr data
,gnutls_x509_crt_t cert
);
Adds certificate to the X509 key data and sets the it as the key's
certificate in data
. On success, the data
owns the cert.
int xmlSecGnuTLSKeyDataX509AdoptCert (xmlSecKeyDataPtr data
,gnutls_x509_crt_t cert
);
Adds certificate to the X509 key data.
gnutls_x509_crt_t xmlSecGnuTLSKeyDataX509GetCert (xmlSecKeyDataPtr data
,xmlSecSize pos
);
Gets a certificate from X509 key data.
xmlSecSize
xmlSecGnuTLSKeyDataX509GetCertsSize (xmlSecKeyDataPtr data
);
Gets the number of certificates in data
.
int xmlSecGnuTLSKeyDataX509AdoptCrl (xmlSecKeyDataPtr data
,gnutls_x509_crl_t crl
);
Adds crl to the X509 key data.
gnutls_x509_crl_t xmlSecGnuTLSKeyDataX509GetCrl (xmlSecKeyDataPtr data
,xmlSecSize pos
);
Gets a crl from X509 key data.
xmlSecSize
xmlSecGnuTLSKeyDataX509GetCrlsSize (xmlSecKeyDataPtr data
);
Gets the number of crls in data
.
xmlSecKeyDataPtr
xmlSecGnuTLSX509CertGetKey (gnutls_x509_crt_t cert
);
Extracts public key from the cert
.
xmlSecKeyDataId
xmlSecGnuTLSKeyDataRawX509CertGetKlass
(void
);
The raw X509 certificates key data klass.
xmlSecKeyDataStoreId
xmlSecGnuTLSX509StoreGetKlass (void
);
The GnuTLS X509 certificates key data store klass.
gnutls_x509_crt_t xmlSecGnuTLSX509StoreVerify (xmlSecKeyDataStorePtr store
,xmlSecPtrListPtr certs
,xmlSecPtrListPtr crls
,const xmlSecKeyInfoCtx *keyInfoCtx
);
Verifies certs
list.
store |
the pointer to X509 key data store klass. |
|
certs |
the untrusted certificates. |
|
crls |
the crls. |
|
keyInfoCtx |
the pointer to <dsig:KeyInfo/> element processing context. |
int xmlSecGnuTLSX509StoreAdoptCert (xmlSecKeyDataStorePtr store
,gnutls_x509_crt_t cert
,xmlSecKeyDataType type
);
Adds trusted (root) or untrusted certificate to the store.
int xmlSecGnuTLSX509StoreAdoptCrl (xmlSecKeyDataStorePtr store
,gnutls_x509_crl_t crl
);
Adds CRL to the store.