Package org.globus.gsi
Class X509ProxyCertPathParameters
java.lang.Object
org.globus.gsi.X509ProxyCertPathParameters
- All Implemented Interfaces:
Cloneable
,CertPathParameters
Refactor to have an interface that retuns trusted certificates, crls,
keys and policy. Manage stores within parameters. PKITrustManager can take
that interface and the validator can also be agnostic of this implementation
(can support say CertStore or KeyStore for trsuted certs).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CertStore
private Map
<String, ProxyPolicyHandler> private SigningPolicyStore
private boolean
private KeyStore
-
Constructor Summary
ConstructorsConstructorDescriptionX509ProxyCertPathParameters
(KeyStore initTrustStore, CertStore initCRLStore, SigningPolicyStore initPolicyStore, boolean initRejectLimitedProxy) X509ProxyCertPathParameters
(KeyStore initTrustStore, CertStore initCRLStore, SigningPolicyStore initPolicyStore, boolean initRejectLimitedProxy, Map<String, ProxyPolicyHandler> initHandlers) -
Method Summary
-
Field Details
-
trustStore
-
crlStore
-
policyStore
-
rejectLimitedProxy
private boolean rejectLimitedProxy -
handlers
-
-
Constructor Details
-
X509ProxyCertPathParameters
public X509ProxyCertPathParameters(KeyStore initTrustStore, CertStore initCRLStore, SigningPolicyStore initPolicyStore, boolean initRejectLimitedProxy) -
X509ProxyCertPathParameters
public X509ProxyCertPathParameters(KeyStore initTrustStore, CertStore initCRLStore, SigningPolicyStore initPolicyStore, boolean initRejectLimitedProxy, Map<String, ProxyPolicyHandler> initHandlers)
-
-
Method Details
-
getTrustStore
-
getCrlStore
-
getSigningPolicyStore
-
isRejectLimitedProxy
public boolean isRejectLimitedProxy() -
getPolicyHandlers
-
clone
Makes a copy of thisCertPathParameters
. Changes to the copy will not affect the original and vice versa.- Specified by:
clone
in interfaceCertPathParameters
- Overrides:
clone
in classObject
- Returns:
- a copy of this
CertPathParameters
-