public class SigningPolicyChecker extends java.lang.Object implements CertificateChecker
Constructor and Description |
---|
SigningPolicyChecker(SigningPolicyStore policyStore) |
Modifier and Type | Method and Description |
---|---|
void |
invoke(java.security.cert.X509Certificate cert,
GSIConstants.CertificateType certType)
Validate DN against the signing policy
|
public SigningPolicyChecker(SigningPolicyStore policyStore)
public void invoke(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType) throws java.security.cert.CertPathValidatorException
invoke
in interface CertificateChecker
cert
- The certificate to check.certType
- The type of certificate to check.java.security.cert.CertPathValidatorException
- if the certificate is invalid according to the signing policy.