public class AnchorCertificates
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(java.security.cert.X509Certificate cert)
Checks if a certificate is a JDK trust anchor.
|
static boolean |
issuerOf(java.security.cert.X509Certificate cert)
Checks if a JDK trust anchor is the issuer of a certificate.
|
public static boolean contains(java.security.cert.X509Certificate cert)
cert - the certificate to checkpublic static boolean issuerOf(java.security.cert.X509Certificate cert)
cert - the certificate to check