Class MemoryCertificateQuarantine
java.lang.Object
org.eclipse.milo.opcua.stack.core.security.MemoryCertificateQuarantine
- All Implemented Interfaces:
CertificateQuarantine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRejectedCertificate(X509Certificate certificate) Add a Certificate to the list of rejected Certificates.Get the list of rejected Certificates.voidremoveRejectedCertificate(X509Certificate certificate) Remove a Certificate from the list of rejected Certificates.
-
Constructor Details
-
MemoryCertificateQuarantine
public MemoryCertificateQuarantine() -
MemoryCertificateQuarantine
public MemoryCertificateQuarantine(int maxRejectedCertificates)
-
-
Method Details
-
getRejectedCertificates
Description copied from interface:CertificateQuarantineGet the list of rejected Certificates.- Specified by:
getRejectedCertificatesin interfaceCertificateQuarantine- Returns:
- the list of rejected
X509Certificates.
-
addRejectedCertificate
Description copied from interface:CertificateQuarantineAdd a Certificate to the list of rejected Certificates.- Specified by:
addRejectedCertificatein interfaceCertificateQuarantine- Parameters:
certificate- theX509Certificateto add.
-
removeRejectedCertificate
Description copied from interface:CertificateQuarantineRemove a Certificate from the list of rejected Certificates.- Specified by:
removeRejectedCertificatein interfaceCertificateQuarantine- Parameters:
certificate- theX509Certificateto remove.
-