Package org.globus.gsi
Class X509ProxyCertPathParameters
- java.lang.Object
-
- org.globus.gsi.X509ProxyCertPathParameters
-
- All Implemented Interfaces:
java.lang.Cloneable,java.security.cert.CertPathParameters
public class X509ProxyCertPathParameters extends java.lang.Object implements java.security.cert.CertPathParametersRefactor 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).- Author:
- ranantha@mcs.anl.gov
-
-
Constructor Summary
Constructors Constructor Description X509ProxyCertPathParameters(java.security.KeyStore initTrustStore, java.security.cert.CertStore initCRLStore, SigningPolicyStore initPolicyStore, boolean initRejectLimitedProxy)X509ProxyCertPathParameters(java.security.KeyStore initTrustStore, java.security.cert.CertStore initCRLStore, SigningPolicyStore initPolicyStore, boolean initRejectLimitedProxy, java.util.Map<java.lang.String,ProxyPolicyHandler> initHandlers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()Makes a copy of thisCertPathParameters.java.security.cert.CertStoregetCrlStore()java.util.Map<java.lang.String,ProxyPolicyHandler>getPolicyHandlers()SigningPolicyStoregetSigningPolicyStore()java.security.KeyStoregetTrustStore()booleanisRejectLimitedProxy()
-
-
-
Constructor Detail
-
X509ProxyCertPathParameters
public X509ProxyCertPathParameters(java.security.KeyStore initTrustStore, java.security.cert.CertStore initCRLStore, SigningPolicyStore initPolicyStore, boolean initRejectLimitedProxy)
-
X509ProxyCertPathParameters
public X509ProxyCertPathParameters(java.security.KeyStore initTrustStore, java.security.cert.CertStore initCRLStore, SigningPolicyStore initPolicyStore, boolean initRejectLimitedProxy, java.util.Map<java.lang.String,ProxyPolicyHandler> initHandlers)
-
-
Method Detail
-
getTrustStore
public java.security.KeyStore getTrustStore()
-
getCrlStore
public java.security.cert.CertStore getCrlStore()
-
getSigningPolicyStore
public SigningPolicyStore getSigningPolicyStore()
-
isRejectLimitedProxy
public boolean isRejectLimitedProxy()
-
getPolicyHandlers
public java.util.Map<java.lang.String,ProxyPolicyHandler> getPolicyHandlers()
-
clone
public java.lang.Object clone()
Makes a copy of thisCertPathParameters. Changes to the copy will not affect the original and vice versa.- Specified by:
clonein interfacejava.security.cert.CertPathParameters- Overrides:
clonein classjava.lang.Object- Returns:
- a copy of this
CertPathParameters
-
-