public final class TrustedCertPathFinder extends Object
| Modifier and Type | Method and Description |
|---|---|
static CertPath |
findTrustedCertPath(KeyStore keyStore,
CertPath certPath)
Method that validates the provided cert path to find a trusted certificate in the certificate store.
|
public static CertPath findTrustedCertPath(KeyStore keyStore, CertPath certPath) throws CertPathValidatorException
keyStore - The key store containing CA trust root certificatescertPath - The certpath from which to extract a valid cert path to a trusted certificate.CertPathValidatorException - If the CertPath is invalid.Copyright © 2013. All Rights Reserved.