public class TrustPlatform extends Object
Constructor and Description |
---|
TrustPlatform() |
TrustPlatform(String platform,
String version,
String url,
Date lastUpdate,
List<CertificateEntry> certificateEntries,
List<CertificateEntry> blockedCertificateEntries) |
Modifier and Type | Method and Description |
---|---|
CertificateEntry |
getBlacklistedCertificateEntry(String subject)
Returns the trust anchor as a CertificateEntry for the Subject.If the
subject is not trusted or not found null is returned
|
List<CertificateEntry> |
getBlockedCertificateEntries() |
List<CertificateEntry> |
getCertificateEntries() |
Date |
getLastUpdate() |
String |
getPlatform() |
CertificateEntry |
getTrustedCertificateEntry(String subject)
Returns the trust anchor as a CertificateEntry for the Subject.If the
subject is not trusted or not found null is returned
|
String |
getUrl() |
String |
getVersion() |
boolean |
isBlacklisted(String subject) |
boolean |
isTrusted(String subject) |
public TrustPlatform()
public TrustPlatform(String platform, String version, String url, Date lastUpdate, List<CertificateEntry> certificateEntries, List<CertificateEntry> blockedCertificateEntries)
public String getPlatform()
public String getVersion()
public String getUrl()
public Date getLastUpdate()
public List<CertificateEntry> getCertificateEntries()
public List<CertificateEntry> getBlockedCertificateEntries()
public boolean isTrusted(String subject)
public boolean isBlacklisted(String subject)
public CertificateEntry getTrustedCertificateEntry(String subject)
subject
- The subject to search forpublic CertificateEntry getBlacklistedCertificateEntry(String subject)
subject
- The subject to search forCopyright © 2020. All rights reserved.