URICertStoreParameters
class URICertStoreParameters : CertStoreParameters
kotlin.Any | |
↳ | java.security.cert.URICertStoreParameters |
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.
Summary
Public constructors | |
---|---|
URICertStoreParameters(uri: URI!) Creates an instance of |
Public methods | |
---|---|
URICertStoreParameters |
clone() Returns a copy of this object. |
Boolean |
Compares the specified object with this parameters object for equality. |
URI! |
getURI() Returns the URI used to construct this |
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 constructors
URICertStoreParameters
URICertStoreParameters(uri: URI!)
Creates an instance of URICertStoreParameters
with the specified URI.
Parameters | |
---|---|
uri |
URI!: the URI which contains configuration information. |
Exceptions | |
---|---|
java.lang.NullPointerException |
if uri is null |
Public methods
clone
fun clone(): URICertStoreParameters
Returns a copy of this object. Changes to the copy will not affect the original and vice versa.
Return | |
---|---|
URICertStoreParameters |
the copy |
Exceptions | |
---|---|
java.lang.CloneNotSupportedException |
if the object's class does not support the Cloneable interface. Subclasses that override the clone method can also throw this exception to indicate that an instance cannot be cloned. |
equals
fun equals(other: Any?): Boolean
Compares the specified object with this parameters object for equality. Two URICertStoreParameters are considered equal if the URIs used to construct them are equal.
Parameters | |
---|---|
obj |
the reference object with which to compare. |
p |
the object to test for equality with this parameters. |
Return | |
---|---|
Boolean |
true if the specified object is equal to this parameters object. |
getURI
fun getURI(): URI!
Returns the URI used to construct this URICertStoreParameters
object.
Return | |
---|---|
URI! |
the URI. |
hashCode
fun hashCode(): Int
Returns a hash code value for this parameters object. The hash code is generated using the URI supplied at construction.
Return | |
---|---|
Int |
a hash code value for this parameters. |
toString
fun toString(): String
Returns a formatted string describing the parameters including the URI used to construct this object.
Return | |
---|---|
String |
a formatted string describing the parameters |