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 | xmlSecGnuTLSX509StoreFindCert () |
gnutls_x509_crt_t | xmlSecGnuTLSX509StoreVerify () |
int | xmlSecGnuTLSX509StoreAdoptCert () |
#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
);
Sets the key's certificate in data
.
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 xmlSecGnuTLSX509StoreFindCert (const xmlSecKeyDataStorePtr store
,const xmlChar *subjectName
,const xmlChar *issuerName
,const xmlChar *issuerSerial
,const xmlChar *ski
,const 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. |
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.