|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.italiangrid.voms.util.CertificateValidatorBuilder
public class CertificateValidatorBuilder
A utility class which provides convenient methods to build a certificate validator with defaults that are meaningful for VOMS usage.
| Field Summary | |
|---|---|
static eu.emi.security.authn.x509.CrlCheckingMode |
DEFAULT_CRL_CHECKS
The default CRL checking policy. |
static eu.emi.security.authn.x509.NamespaceCheckingMode |
DEFAULT_NS_CHECKS
The default namespace checking policy. |
static eu.emi.security.authn.x509.OCSPCheckingMode |
DEFAULT_OCSP_CHECKS
The default OCSP checking policy. |
| Method Summary | |
|---|---|
static eu.emi.security.authn.x509.X509CertChainValidatorExt |
buildCertificateValidator()
Builds an Openssl-style certificate validator. |
static eu.emi.security.authn.x509.X509CertChainValidatorExt |
buildCertificateValidator(String trustAnchorsDir)
Builds an Openssl-style certificate validator configured as specified in the parameters |
static eu.emi.security.authn.x509.X509CertChainValidatorExt |
buildCertificateValidator(String trustAnchorsDir,
eu.emi.security.authn.x509.ValidationErrorListener validationErrorListener)
Builds an Openssl-style certificate validator configured as specified in the parameters |
static eu.emi.security.authn.x509.X509CertChainValidatorExt |
buildCertificateValidator(String trustAnchorsDir,
eu.emi.security.authn.x509.ValidationErrorListener validationErrorListener,
long updateInterval)
Builds an Openssl-style certificate validator configured as specified in the parameters |
static eu.emi.security.authn.x509.X509CertChainValidatorExt |
buildCertificateValidator(String trustAnchorsDir,
eu.emi.security.authn.x509.ValidationErrorListener validationErrorListener,
eu.emi.security.authn.x509.StoreUpdateListener storeListener)
Builds an Openssl-style certificate validator configured as specified in the parameters |
static eu.emi.security.authn.x509.X509CertChainValidatorExt |
buildCertificateValidator(String trustAnchorsDir,
eu.emi.security.authn.x509.ValidationErrorListener validationErrorListener,
eu.emi.security.authn.x509.StoreUpdateListener storeListener,
long updateInterval)
Builds an Openssl-style certificate validator configured as specified in the parameters |
static eu.emi.security.authn.x509.X509CertChainValidatorExt |
buildCertificateValidator(String trustAnchorsDir,
eu.emi.security.authn.x509.ValidationErrorListener validationErrorListener,
eu.emi.security.authn.x509.StoreUpdateListener storeUpdateListener,
long updateInterval,
eu.emi.security.authn.x509.NamespaceCheckingMode namespaceChecks,
eu.emi.security.authn.x509.CrlCheckingMode crlChecks,
eu.emi.security.authn.x509.OCSPCheckingMode ocspChecks)
Builds an Openssl-style certificate validator configured as specified in the parameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final eu.emi.security.authn.x509.CrlCheckingMode DEFAULT_CRL_CHECKS
public static final eu.emi.security.authn.x509.OCSPCheckingMode DEFAULT_OCSP_CHECKS
public static final eu.emi.security.authn.x509.NamespaceCheckingMode DEFAULT_NS_CHECKS
| Method Detail |
|---|
public static eu.emi.security.authn.x509.X509CertChainValidatorExt buildCertificateValidator(String trustAnchorsDir,
eu.emi.security.authn.x509.ValidationErrorListener validationErrorListener,
eu.emi.security.authn.x509.StoreUpdateListener storeUpdateListener,
long updateInterval,
eu.emi.security.authn.x509.NamespaceCheckingMode namespaceChecks,
eu.emi.security.authn.x509.CrlCheckingMode crlChecks,
eu.emi.security.authn.x509.OCSPCheckingMode ocspChecks)
trustAnchorsDir - the directory where trust anchors are loaded fromvalidationErrorListener - the listener that will receive notification about validation
errorsupdateInterval - the trust anchor store update intervalnamespaceChecks - the namespace checking policycrlChecks - the crl checking policyocspChecks - the ocsp checking policy
public static eu.emi.security.authn.x509.X509CertChainValidatorExt buildCertificateValidator(String trustAnchorsDir,
eu.emi.security.authn.x509.ValidationErrorListener validationErrorListener)
trustAnchorsDir - the directory where trust anchors are loaded fromvalidationErrorListener - the listener that will receive notification about validation
errors
public static eu.emi.security.authn.x509.X509CertChainValidatorExt buildCertificateValidator(String trustAnchorsDir,
eu.emi.security.authn.x509.ValidationErrorListener validationErrorListener,
eu.emi.security.authn.x509.StoreUpdateListener storeListener)
trustAnchorsDir - the directory where trust anchors are loaded fromvalidationErrorListener - the listener that will receive notification about validation
errorsstoreListener - the listener that will be informed of trust store load errors
public static eu.emi.security.authn.x509.X509CertChainValidatorExt buildCertificateValidator(String trustAnchorsDir,
eu.emi.security.authn.x509.ValidationErrorListener validationErrorListener,
eu.emi.security.authn.x509.StoreUpdateListener storeListener,
long updateInterval)
trustAnchorsDir - the directory where trust anchors are loaded fromvalidationErrorListener - the listener that will receive notification about validation
errorsstoreListener - the listener that will be informed of trust store load errorsupdateInterval - the trust anchor store update interval
public static eu.emi.security.authn.x509.X509CertChainValidatorExt buildCertificateValidator(String trustAnchorsDir,
eu.emi.security.authn.x509.ValidationErrorListener validationErrorListener,
long updateInterval)
trustAnchorsDir - the directory where trust anchors are loaded fromvalidationErrorListener - the listener that will receive notification about validation
errorsupdateInterval - the trust anchor store update interval
public static eu.emi.security.authn.x509.X509CertChainValidatorExt buildCertificateValidator(String trustAnchorsDir)
trustAnchorsDir - the directory where trust anchors are loaded from
public static eu.emi.security.authn.x509.X509CertChainValidatorExt buildCertificateValidator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||