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
, java.net.URI
Modifier and Type | Field and Description |
---|---|
private int | |
private final URI | uri
The uri, cannot be null |
Access | Constructor and Description |
---|---|
public | URICertStoreParameters(URI
the URI which contains configuration information. uri)Creates an instance of |
Modifier and Type | Method and Description |
---|---|
public URICertStoreParameters | Returns: the copyOverrides java. Implements java. Returns a copy of this object. |
public boolean | Returns: true if the specified object is equal to this parameters object.the object to test for equality with this parameters object. p)Overrides java. Compares the specified object with this parameters object for equality. |
public URI | |
public int | Returns: a hash code value for this parameters objectOverrides java. Returns a hash code value for this parameters object. |
public String | Returns: a formatted string describing the parametersOverrides java. Returns a formatted string describing the parameters including the URI used to construct this object. |
myhash | back to summary |
---|---|
private int myhash |
uri | back to summary |
---|---|
private final URI uri The uri, cannot be null |
URICertStoreParameters | back to summary |
---|---|
public URICertStoreParameters(URI uri) Creates an instance of
|
clone | back to summary |
---|---|
public URICertStoreParameters clone() Overrides java. Implements java. Returns a copy of this object. Changes to the copy will not affect the original and vice versa.
|
equals | back to summary |
---|---|
public boolean equals(Object p) Overrides java. Compares the specified object with this parameters object for equality. Two URICertStoreParameters are considered equal if the URIs used to construct them are equal. |
getURI | back to summary |
---|---|
public URI getURI() Returns the URI used to construct this
|
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Returns a hash code value for this parameters object. The hash code is generated using the URI supplied at construction.
|
toString | back to summary |
---|---|
public String toString() Overrides java. Returns a formatted string describing the parameters including the URI used to construct this object. |