public class X509Certificate extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COM_MICROEJ_SECURITY_RETRY_AFTER_GC_ON_NATIVE_OOM |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
validateCertPath(X509CertImpl[] certPath,
X509CertImpl[] trustedCertificates)
Validates a chain of certificates against a list of trusted certificates.
|
public static final String COM_MICROEJ_SECURITY_RETRY_AFTER_GC_ON_NATIVE_OOM
public static boolean validateCertPath(X509CertImpl[] certPath, X509CertImpl[] trustedCertificates) throws IllegalArgumentException
Check your VEE Port documentation for details on the cert path validation algorithm.
certPath - the chain of certificates. // TODO document the order (see CertificateFactory.generateCertPath())trustedCertificates - the list of the trusted certificates.true if the cert path is valid, false otherwise.IllegalArgumentException - if the given certificates are invalid.