Cloneable
, CertStoreParameters
public final class URICertStoreParameters extends Object implements 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.
Constructor | Description |
---|---|
URICertStoreParameters(URI uri) |
Creates an instance of
URICertStoreParameters with the
specified URI. |
Modifier and Type | Method | Description |
---|---|---|
URICertStoreParameters |
clone() |
Returns a copy of this object.
|
boolean |
equals(Object p) |
Compares the specified object with this parameters object for equality.
|
URI |
getURI() |
Returns the URI used to construct this
URICertStoreParameters object. |
int |
hashCode() |
Returns a hash code value for this parameters object.
|
String |
toString() |
Returns a formatted string describing the parameters
including the URI used to construct this object.
|
public URICertStoreParameters(URI uri)
URICertStoreParameters
with the
specified URI.uri
- the URI which contains configuration information.NullPointerException
- if uri
is nullpublic URI getURI()
URICertStoreParameters
object.public URICertStoreParameters clone()
clone
in interface CertStoreParameters
clone
in class Object
Cloneable
public int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public boolean equals(Object p)
equals
in class Object
p
- the object to test for equality with this parameters.Object.hashCode()
,
HashMap
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps