Class URICertStoreParameters
java.lang.Object
java.security.cert.URICertStoreParameters
- All Implemented Interfaces:
Cloneable, 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:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance ofURICertStoreParameterswith the specified URI. -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a copy of this object.booleanCompares the specified object with this parameters object for equality.getURI()Returns the URI used to construct thisURICertStoreParametersobject.inthashCode()Returns a hash code value for this parameters object.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, waitModifier and TypeMethodDescriptionprotected voidfinalize()Deprecated, for removal: This API element is subject to removal in a future version.May cause performance issues, deadlocks and hangs.getClass()Answers the unique instance of java.lang.Class which represents the class of the receiver.final voidnotify()Causes one thread which iswaiting on the receiver to be made ready to run.final voidCauses all threads which arewaiting on the receiver to be made ready to run.final voidwait()Causes the thread which sent this message to be made not ready to run pending some change in the receiver (as indicated bynotifyornotifyAll).final voidwait(long time) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.final voidwait(long time, int frac) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.
-
Constructor Details
-
URICertStoreParameters
Creates an instance ofURICertStoreParameterswith the specified URI.- Parameters:
uri- the URI which contains configuration information.- Throws:
NullPointerException- ifuriis null
-
-
Method Details
-
getURI
Returns the URI used to construct thisURICertStoreParametersobject.- Returns:
- the URI.
-
clone
Returns a copy of this object. Changes to the copy will not affect the original and vice versa.- Specified by:
clonein interfaceCertStoreParameters- Overrides:
clonein classObject- Returns:
- the copy
-
hashCode
-
equals
Compares the specified object with this parameters object for equality. Two URICertStoreParameters are considered equal if the URIs used to construct them are equal. -
toString
-