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 * | xmlSecNssX509StoreVerify () |
int | xmlSecNssX509StoreAdoptCert () |
int | xmlSecNssX509StoreAdoptCrl () |
#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
);
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 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 * xmlSecNssX509StoreVerify (xmlSecKeyDataStorePtr store
,CERTCertList *certs
,xmlSecKeyInfoCtx *keyInfoCtx
);
xmlSecNssX509StoreVerify
is deprecated and should not be used in newly-written code.
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.
int xmlSecNssX509StoreAdoptCrl (xmlSecKeyDataStorePtr store
,CERTSignedCrl *crl
);
Adds CRL to the store.