Class 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 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()
      • 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