Spec-Zone.ru › OpenJDK 27

Class URICertStoreParameters

java.lang.Object
java.security.cert.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.

Since:
9
See Also:
  • CertStore
  • URI

Constructor Summary

Constructor Description
URICertStoreParameters(URI uri)
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(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.

Methods declared in class Object

finalize, getClass, notify, notifyAll, wait, wait, wait
Modifier and Type Method Description
protected void finalize()
Deprecated, for removal: This API element is subject to removal in a future version.
Finalization is deprecated and subject to removal in a future release.
final Class<?> getClass()
Returns the runtime class of this Object.
final void notify()
Wakes up a single thread that is waiting on this object's monitor.
final void notifyAll()
Wakes up all threads that are waiting on this object's monitor.
final void wait()
Causes the current thread to wait until it is awakened, typically by being notified or interrupted.
final void wait(long timeoutMillis)
Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
final void wait(long timeoutMillis, int nanos)
Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

Constructor Details

URICertStoreParameters

public URICertStoreParameters(URI uri)
Creates an instance of URICertStoreParameters with the specified URI.
Parameters:
uri - the URI which contains configuration information.
Throws:
NullPointerException - if uri is null

Method Details

getURI

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

clone

public URICertStoreParameters clone()
Returns a copy of this object. Changes to the copy will not affect the original and vice versa.
Specified by:
clone in interface CertStoreParameters
Overrides:
clone in class Object
Returns:
the copy
See Also:
  • Cloneable

hashCode

public int hashCode()
Returns a hash code value for this parameters object. The hash code is generated using the URI supplied at construction.
Overrides:
hashCode in class Object
Returns:
a hash code value for this parameters object
See Also:
  • Object.equals(java.lang.Object)
  • System.identityHashCode(Object)

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.
Overrides:
equals in class Object
Parameters:
p - the object to test for equality with this parameters object.
Returns:
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.
Overrides:
toString in class Object
Returns:
a formatted string describing the parameters

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2026, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.

© 1993, 2025, 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.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API