org.globus.gsi
Class X509ProxyCertPathParameters

java.lang.Object
  extended by 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.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).

Author:
ranantha@mcs.anl.gov

Constructor Summary
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
 java.lang.Object clone()
          Makes a copy of this CertPathParameters.
 java.security.cert.CertStore getCrlStore()
           
 java.util.Map<java.lang.String,ProxyPolicyHandler> getPolicyHandlers()
           
 SigningPolicyStore getSigningPolicyStore()
           
 java.security.KeyStore getTrustStore()
           
 boolean isRejectLimitedProxy()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 this CertPathParameters. Changes to the copy will not affect the original and vice versa.

Specified by:
clone in interface java.security.cert.CertPathParameters
Overrides:
clone in class java.lang.Object
Returns:
a copy of this CertPathParameters


Copyright © 2013. All Rights Reserved.