public class UnsupportedCriticalExtensionChecker extends Object implements CertificateChecker
Constructor and Description |
---|
UnsupportedCriticalExtensionChecker() |
Modifier and Type | Method and Description |
---|---|
void |
invoke(X509Certificate cert,
GSIConstants.CertificateType certType)
Method that checks if there are unsupported critical extension.
|
public void invoke(X509Certificate cert, GSIConstants.CertificateType certType) throws CertPathValidatorException
invoke
in interface CertificateChecker
cert
- 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 © 2016. All rights reserved.