public final class URICertStoreParameters
extends java.lang.Object
implements java.security.cert.CertStoreParameters
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.
CertStore,
URI| Constructor and Description |
|---|
URICertStoreParameters(java.net.URI uri)
Creates an instance of
URICertStoreParameters with the
specified URI. |
| Modifier and Type | Method and Description |
|---|---|
URICertStoreParameters |
clone()
Returns a copy of this object.
|
boolean |
equals(java.lang.Object p)
Compares the specified object with this parameters object for equality.
|
java.net.URI |
getURI()
Returns the URI used to construct this
URICertStoreParameters object. |
int |
hashCode()
Returns a hash code value for this parameters object.
|
java.lang.String |
toString()
Returns a formatted string describing the parameters
including the URI used to construct this object.
|
public URICertStoreParameters(java.net.URI uri)
URICertStoreParameters with the
specified URI.uri - the URI which contains configuration information.java.lang.NullPointerException - if uri is nullpublic java.net.URI getURI()
URICertStoreParameters object.public URICertStoreParameters clone()
clone in interface java.security.cert.CertStoreParametersclone in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object p)
equals in class java.lang.Objectp - the object to test for equality with this parameters.public java.lang.String toString()
toString in class java.lang.Object