Top |
xmlSecKeyDataId | xmlSecNssKeyDataX509GetKlass () |
CERTCertificate * | xmlSecNssKeyDataX509GetKeyCert () |
int | xmlSecNssKeyDataX509AdoptKeyCert () |
int | xmlSecNssKeyDataX509AdoptCert () |
CERTCertificate * | xmlSecNssKeyDataX509GetCert () |
xmlSecSize | xmlSecNssKeyDataX509GetCertsSize () |
int | xmlSecNssKeyDataX509AdoptCrl () |
CERTSignedCrl * | xmlSecNssKeyDataX509GetCrl () |
xmlSecSize | xmlSecNssKeyDataX509GetCrlsSize () |
xmlSecKeyDataPtr | xmlSecNssX509CertGetKey () |
xmlSecKeyDataId | xmlSecNssKeyDataRawX509CertGetKlass () |
xmlSecKeyDataStoreId | xmlSecNssX509StoreGetKlass () |
CERTCertificate * | xmlSecNssX509StoreFindCert () |
CERTCertificate * | xmlSecNssX509StoreVerify () |
int | xmlSecNssX509StoreAdoptCert () |
#define | xmlSecNssKeyDataX509Id |
#define | xmlSecNssKeyDataRawX509CertId |
#define | xmlSecNssX509StoreId |
xmlSecKeyDataId
xmlSecNssKeyDataX509GetKlass (void
);
The NSS X509 key data klass (http://www.w3.org/TR/xmldsig-core/sec-X509Data).
CERTCertificate *
xmlSecNssKeyDataX509GetKeyCert (xmlSecKeyDataPtr data
);
Gets the certificate from which the key was extracted.
int xmlSecNssKeyDataX509AdoptKeyCert (xmlSecKeyDataPtr data
,CERTCertificate *cert
);
Sets the key's certificate in data
.
int xmlSecNssKeyDataX509AdoptCert (xmlSecKeyDataPtr data
,CERTCertificate *cert
);
Adds certificate to the X509 key data.
CERTCertificate * xmlSecNssKeyDataX509GetCert (xmlSecKeyDataPtr data
,xmlSecSize pos
);
Gets a certificate from X509 key data.
xmlSecSize
xmlSecNssKeyDataX509GetCertsSize (xmlSecKeyDataPtr data
);
Gets the number of certificates in data
.
int xmlSecNssKeyDataX509AdoptCrl (xmlSecKeyDataPtr data
,CERTSignedCrl *crl
);
Adds CRL to the X509 key data.
CERTSignedCrl * xmlSecNssKeyDataX509GetCrl (xmlSecKeyDataPtr data
,xmlSecSize pos
);
Gets a CRL from X509 key data.
xmlSecSize
xmlSecNssKeyDataX509GetCrlsSize (xmlSecKeyDataPtr data
);
Gets the number of CRLs in data
.
xmlSecKeyDataPtr
xmlSecNssX509CertGetKey (CERTCertificate *cert
);
Extracts public key from the cert
.
xmlSecKeyDataId
xmlSecNssKeyDataRawX509CertGetKlass (void
);
The raw X509 certificates key data klass.
xmlSecKeyDataStoreId
xmlSecNssX509StoreGetKlass (void
);
The NSS X509 certificates key data store klass.
CERTCertificate * xmlSecNssX509StoreFindCert (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. |
CERTCertificate * xmlSecNssX509StoreVerify (xmlSecKeyDataStorePtr store
,CERTCertList *certs
,xmlSecKeyInfoCtx *keyInfoCtx
);
Verifies certs
list.
store |
the pointer to X509 key data store klass. |
|
certs |
the untrusted certificates stack. |
|
keyInfoCtx |
the pointer to <dsig:KeyInfo/> element processing context. |
int xmlSecNssX509StoreAdoptCert (xmlSecKeyDataStorePtr store
,CERTCertificate *cert
,xmlSecKeyDataType type
);
Adds trusted (root) or untrusted certificate to the store.