Class URICertStoreParameters
- All Implemented Interfaces:
-
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 Summary
Constructor | Description |
---|---|
URICertStoreParameters |
Creates an instance of URICertStoreParameters with the specified URI. |
Method Summary
Modifier and Type | Method | Description |
---|---|---|
URICertStoreParameters |
clone() |
Returns a copy of this object. |
boolean |
equals |
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. |
Constructor Details
URICertStoreParameters
public URICertStoreParameters(URI uri)
URICertStoreParameters
with the specified URI.- Parameters:
-
uri
- the URI which contains configuration information. - Throws:
-
NullPointerException
- ifuri
is null
Method Details
getURI
public URI getURI()
URICertStoreParameters
object.- Returns:
- the URI.
clone
public URICertStoreParameters clone()
- Specified by:
-
clone
in interfaceCertStoreParameters
- Overrides:
-
clone
in classObject
- Returns:
- the copy
- See Also:
hashCode
public int hashCode()
equals
public boolean equals(Object p)
toString
public String toString()
© 1993, 2021, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/security/cert/URICertStoreParameters.html