@License public final class TrustAnchors extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<X509Certificate> |
fromJavaRootCAs()
Attempts to load the certificates of the most trusted CAs ("root CAs") as
known to the Java Virtual Machine.
|
static List<X509Certificate> |
fromTSL(String tslURL)
Attempts to load the certificates of a set of trust anchors from a TSL; if
anything fails, returns an empty list of certificates.
|
public static List<X509Certificate> fromJavaRootCAs() throws CryptoException
CryptoExceptionpublic static List<X509Certificate> fromTSL(String tslURL) throws MalformedURLException
tslURL - MalformedURLExceptionCopyright © 2012-2014 Andrea Funtò. See here for terms and conditions.