Interface CertificateStore
- All Known Implementing Classes:
KeyStoreCertificateStore,MemoryCertificateStore
public interface CertificateStore
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if thisCertificateStorehas an entry forcertificateTypeId.@Nullable CertificateStore.EntryGet theCertificateStore.EntryforcertificateTypeId.@Nullable CertificateStore.EntryRemove theCertificateStore.EntryforcertificateTypeId.voidset(NodeId certificateTypeId, CertificateStore.Entry entry) Set theCertificateStore.EntryforcertificateTypeId.
-
Method Details
-
contains
Check if thisCertificateStorehas an entry forcertificateTypeId.- Parameters:
certificateTypeId- the id to check.- Returns:
trueif thisCertificateStoreis managing an entry forcertificateTypeId.- Throws:
Exception- if an error occurs while checking.
-
get
Get theCertificateStore.EntryforcertificateTypeId.- Parameters:
certificateTypeId- the id of the certificate type to get theCertificateStore.Entryfor.- Returns:
- the
CertificateStore.EntryforcertificateTypeId, ornullif no entry exists forcertificateTypeId. - Throws:
Exception- if an error occurs while getting theCertificateStore.Entry.
-
remove
Remove theCertificateStore.EntryforcertificateTypeId.- Parameters:
certificateTypeId- the id of the certificate type to remove theCertificateStore.Entryfor.- Returns:
- the
CertificateStore.Entrythat was removed, ornullif no entry exists forcertificateTypeId. - Throws:
Exception- if an error occurs while removing theCertificateStore.Entry.
-
set
Set theCertificateStore.EntryforcertificateTypeId.- Parameters:
certificateTypeId- the alias to set theCertificateStore.Entryfor.entry- theCertificateStore.Entryto set.- Throws:
Exception- if an error occurs while setting theCertificateStore.Entry.
-