public class ScriptingCertificateStore
extends org.xwiki.crypto.script.internal.AbstractScriptingStore
CertificateStore
for scripting.Modifier and Type | Method and Description |
---|---|
Collection<org.xwiki.crypto.pkix.params.CertifiedPublicKey> |
getAllCertificates()
Return all the certificates available in a certificate store.
|
org.xwiki.crypto.pkix.CertificateProvider |
getCertificateProvider()
Return a certificate provider providing from the given certificate store.
|
void |
store(org.xwiki.crypto.pkix.params.CertifiedPublicKey certificate)
Store a certificate into a certificate store.
|
public void store(org.xwiki.crypto.pkix.params.CertifiedPublicKey certificate) throws CertificateStoreException, AccessDeniedException
certificate
- the certificate to store.CertificateStoreException
- on error.AccessDeniedException
- if you do not have edit access rights to the store.public org.xwiki.crypto.pkix.CertificateProvider getCertificateProvider() throws CertificateStoreException, AccessDeniedException
CertificateStoreException
- on error.AccessDeniedException
- if you do not have edit access rights to the store.public Collection<org.xwiki.crypto.pkix.params.CertifiedPublicKey> getAllCertificates() throws CertificateStoreException, AccessDeniedException
CertificateStoreException
- on error.AccessDeniedException
- if you do not have edit access rights to the store.Copyright © 2004–2019 XWiki. All rights reserved.