| Top |
| xmlSecKeyStoreId | xmlSecNssKeysStoreGetKlass () |
| int | xmlSecNssKeysStoreAdoptKey () |
| int | xmlSecNssKeysStoreLoad () |
| int | xmlSecNssKeysStoreSave () |
Nss keys store that uses Simple Keys Store under the hood. Uses the Nss DB as a backing store for the finding keys, but the NSS DB is not written to by the keys store. So, if store->findkey is done and the key is not found in the simple keys store, the NSS DB is looked up. If store is called to adopt a key, that key is not written to the NSS DB. Thus, the NSS DB can be used to pre-load keys and becomes an alternate source of keys for xmlsec
xmlSecKeyStoreId
xmlSecNssKeysStoreGetKlass (void);
The Nss list based keys store klass.
int xmlSecNssKeysStoreAdoptKey (xmlSecKeyStorePtr store,xmlSecKeyPtr key);
Adds key
to the store
.
int xmlSecNssKeysStoreLoad (xmlSecKeyStorePtr store,const char *uri,xmlSecKeysMngrPtr keysMngr);
Reads keys from an XML file.
int xmlSecNssKeysStoreSave (xmlSecKeyStorePtr store,const char *filename,xmlSecKeyDataType type);
Writes keys from store
to an XML file.