public interface TrustListManager
| Modifier and Type | Method and Description |
|---|---|
void |
addIssuerCertificate(X509Certificate certificate)
Add
certificate to the Issuer Certificates list. |
void |
addRejectedCertificate(X509Certificate certificate)
Add
certificate to the Rejected Certificates list. |
void |
addTrustedCertificate(X509Certificate certificate)
Add
certificate to the Trusted Certificates list. |
com.google.common.collect.ImmutableList<X509Certificate> |
getIssuerCertificates()
Get the list of Issuer Certificates.
|
com.google.common.collect.ImmutableList<X509CRL> |
getIssuerCrls()
Get the list of Issuer CRLs.
|
com.google.common.collect.ImmutableList<X509Certificate> |
getRejectedCertificates()
Get the list of Rejected Certificates.
|
com.google.common.collect.ImmutableList<X509Certificate> |
getTrustedCertificates()
Get the list of Trusted Certificates.
|
com.google.common.collect.ImmutableList<X509CRL> |
getTrustedCrls()
Get the list of Trusted CRLs.
|
boolean |
removeIssuerCertificate(ByteString thumbprint)
Remove the certificate identified by
thumbprint from the Issuer Certificates list. |
boolean |
removeRejectedCertificate(ByteString thumbprint)
Remove the certificate identified by
thumbprint from the Rejected Certificates list. |
boolean |
removeTrustedCertificate(ByteString thumbprint)
Remove the certificate identified by
thumbprint from the Trusted Certificates list. |
void |
setIssuerCertificates(List<X509Certificate> issuerCertificates)
Set a new list of Issuer Certificates.
|
void |
setIssuerCrls(List<X509CRL> issuerCrls)
Set a new list of Issuer CRLs.
|
void |
setTrustedCertificates(List<X509Certificate> trustedCertificates)
Set a new list of Trusted Certificates.
|
void |
setTrustedCrls(List<X509CRL> trustedCrls)
Set a new list of Trusted CRLs.
|
com.google.common.collect.ImmutableList<X509CRL> getIssuerCrls()
X509CRLs.com.google.common.collect.ImmutableList<X509CRL> getTrustedCrls()
X509CRLs.com.google.common.collect.ImmutableList<X509Certificate> getIssuerCertificates()
X509Certificates.com.google.common.collect.ImmutableList<X509Certificate> getTrustedCertificates()
X509Certificates.com.google.common.collect.ImmutableList<X509Certificate> getRejectedCertificates()
X509Certificates.void setIssuerCrls(List<X509CRL> issuerCrls)
issuerCrls - a new list of issuer X509CRLs.void setTrustedCrls(List<X509CRL> trustedCrls)
trustedCrls - a new list of trusted X509CRLs.void setIssuerCertificates(List<X509Certificate> issuerCertificates)
issuerCertificates - a new list of issuer X509Certificates.void setTrustedCertificates(List<X509Certificate> trustedCertificates)
trustedCertificates - a new list of trusted X509Certificates.void addIssuerCertificate(X509Certificate certificate)
certificate to the Issuer Certificates list.certificate - the X509Certificate to add to the Issuer Certificates list.void addTrustedCertificate(X509Certificate certificate)
certificate to the Trusted Certificates list.certificate - the X509Certificate to add to the Trusted Certificates list.void addRejectedCertificate(X509Certificate certificate)
certificate to the Rejected Certificates list.certificate - the X509Certificate to add to the Rejected Certificates list.boolean removeIssuerCertificate(ByteString thumbprint)
thumbprint from the Issuer Certificates list.thumbprint - the certificate thumbprint.true if a certificate with a matching thumbprint was found.boolean removeTrustedCertificate(ByteString thumbprint)
thumbprint from the Trusted Certificates list.thumbprint - the certificate thumbprint.true if a certificate with a matching thumbprint was found.boolean removeRejectedCertificate(ByteString thumbprint)
thumbprint from the Rejected Certificates list.thumbprint - the certificate thumbprint.true if a certificate with a matching thumbprint was found.Copyright © 2025. All rights reserved.