Interface CertificateQuarantine
- All Known Implementing Classes:
FileBasedCertificateQuarantine,MemoryCertificateQuarantine
public interface CertificateQuarantine
Manages otherwise valid Certificates that have been rejected by the client or server because they
do not lead to a Trust Anchor.
AKA the "rejected list" and the target of the GetRejectedList methods defined by Part 12.
-
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.
-
Method Details
-
getRejectedCertificates
List<X509Certificate> getRejectedCertificates()Get the list of rejected Certificates.- Returns:
- the list of rejected
X509Certificates.
-
addRejectedCertificate
Add a Certificate to the list of rejected Certificates.- Parameters:
certificate- theX509Certificateto add.
-
removeRejectedCertificate
Remove a Certificate from the list of rejected Certificates.- Parameters:
certificate- theX509Certificateto remove.
-