CertificateCheckerpublic class UnsupportedCriticalExtensionChecker extends Object implements CertificateChecker
| Constructor | Description |
|---|---|
UnsupportedCriticalExtensionChecker() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
invoke(X509Certificate cert,
GSIConstants.CertificateType certType) |
Method that checks if there are unsupported critical extension.
|
public UnsupportedCriticalExtensionChecker()
public void invoke(X509Certificate cert, GSIConstants.CertificateType certType) throws CertPathValidatorException
invoke in interface CertificateCheckercert - The certificate to validate.certType - The type of certificate to validate.CertPathValidatorException - If any critical extension that is not supported is in the certificate.
Anything other than those listed above will trigger the exception.Copyright © 2018. All rights reserved.