Module java.base

Class URICertStoreParameters

  • All Implemented Interfaces:
    Cloneable, CertStoreParameters

    public final class URICertStoreParameters
    extends Object
    implements CertStoreParameters
    Parameters used as input for CertStore algorithms which use information contained in a URI to retrieve certificates and CRLs.

    This class is used to provide necessary configuration parameters through a URI as defined in RFC 5280 to implementations of CertStore algorithms.

    Concurrent Access

    Unless otherwise specified, the methods defined in this class are not thread-safe. Multiple threads that need to access a single object concurrently should synchronize amongst themselves and provide the necessary locking. Multiple threads each manipulating separate objects need not synchronize.

    See Also:
    CertStore, URI
    • Constructor Detail

      • URICertStoreParameters

        public URICertStoreParameters​(URI uri)
        Creates an instance of URICertStoreParameters with the specified URI.
        uri - the URI which contains configuration information.
        NullPointerException - if uri is null
    • Method Detail

      • getURI

        public URI getURI()
        Returns the URI used to construct this URICertStoreParameters object.
        the URI.
      • equals

        public boolean equals​(Object p)
        Compares the specified object with this parameters object for equality. Two URICertStoreParameters are considered equal if the URIs used to construct them are equal.
        equals in class Object
        p - the object to test for equality with this parameters.
        true if the specified object is equal to this parameters object.
        See Also:
        Object.hashCode(), HashMap
      • toString

        public String toString()
        Returns a formatted string describing the parameters including the URI used to construct this object.
        toString in class Object
        a formatted string describing the parameters