Class MemoryCertificateStore
java.lang.Object
org.eclipse.milo.opcua.stack.core.security.MemoryCertificateStore
- All Implemented Interfaces:
CertificateStore
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.milo.opcua.stack.core.security.CertificateStore
CertificateStore.Entry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if thisCertificateStorehas an entry forcertificateTypeId.Get theCertificateStore.EntryforcertificateTypeId.Remove theCertificateStore.EntryforcertificateTypeId.voidset(NodeId certificateTypeId, CertificateStore.Entry entry) Set theCertificateStore.EntryforcertificateTypeId.
-
Constructor Details
-
MemoryCertificateStore
public MemoryCertificateStore()
-
-
Method Details
-
contains
Description copied from interface:CertificateStoreCheck if thisCertificateStorehas an entry forcertificateTypeId.- Specified by:
containsin interfaceCertificateStore- Parameters:
certificateTypeId- the id to check.- Returns:
trueif thisCertificateStoreis managing an entry forcertificateTypeId.- Throws:
Exception- if an error occurs while checking.
-
get
Description copied from interface:CertificateStoreGet theCertificateStore.EntryforcertificateTypeId.- Specified by:
getin interfaceCertificateStore- 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
Description copied from interface:CertificateStoreRemove theCertificateStore.EntryforcertificateTypeId.- Specified by:
removein interfaceCertificateStore- 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
Description copied from interface:CertificateStoreSet theCertificateStore.EntryforcertificateTypeId.- Specified by:
setin interfaceCertificateStore- Parameters:
certificateTypeId- the alias to set theCertificateStore.Entryfor.entry- theCertificateStore.Entryto set.- Throws:
Exception- if an error occurs while setting theCertificateStore.Entry.
-