public class CertificatePathVerifier
extends java.lang.Object
Constructor and Description |
---|
CertificatePathVerifier() |
Modifier and Type | Method and Description |
---|---|
static boolean |
verify(java.security.cert.Certificate[] certs,
java.security.KeyStore trusted)
Verifies the specified certificate chain against the trusted anchors.
|
public static boolean verify(java.security.cert.Certificate[] certs, java.security.KeyStore trusted)
certs
- the certificate chain being verifiedtrusted
- the keystore storing the trusted anchors.