Top Description Fields Constructors Methods
java.security.cert

public final Class URICertStoreParameters

extends Object
implements CertStoreParameters
Class Inheritance
All Implemented Interfaces
java.security.cert.CertStoreParameters, java.lang.Cloneable
Imports
java.net.URI

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, java.net.URI

Field Summary

Modifier and TypeField and Description
private int
private final URI
uri

The uri, cannot be null

Constructor Summary

AccessConstructor and Description
public
URICertStoreParameters(URI
the URI which contains configuration information.
uri
)

Creates an instance of URICertStoreParameters with the specified URI.

Method Summary

Modifier and TypeMethod and Description
public URICertStoreParameters

Returns:

the copy
clone
()

Overrides java.lang.Object.clone.

Implements java.security.cert.CertStoreParameters.clone.

Returns a copy of this object.

public boolean

Returns:

true if the specified object is equal to this parameters object.
equals
(Object
the object to test for equality with this parameters object.
p
)

Overrides java.lang.Object.equals.

Compares the specified object with this parameters object for equality.

public URI

Returns:

the URI.
getURI
()

Returns the URI used to construct this URICertStoreParameters object.

public int

Returns:

a hash code value for this parameters object
hashCode
()

Overrides java.lang.Object.hashCode.

Returns a hash code value for this parameters object.

public String

Returns:

a formatted string describing the parameters
toString
()

Overrides java.lang.Object.toString.

Returns a formatted string describing the parameters including the URI used to construct this object.

Inherited from java.lang.Object:
finalizegetClassnotifynotifyAllwaitwaitwait

Field Detail

myhashback to summary
private int myhash
uriback to summary
private final URI uri

The uri, cannot be null

Constructor Detail

URICertStoreParametersback to summary
public URICertStoreParameters(URI uri)

Creates an instance of URICertStoreParameters with the specified URI.

Parameters
uri:URI

the URI which contains configuration information.

Exceptions
NullPointerException:
if uri is null

Method Detail

cloneback to summary
public URICertStoreParameters clone()

Overrides java.lang.Object.clone.

Implements java.security.cert.CertStoreParameters.clone.

Returns a copy of this object. Changes to the copy will not affect the original and vice versa.

Returns:URICertStoreParameters

the copy

Annotations
@Override
equalsback to summary
public boolean equals(Object p)

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

Parameters
p:Object

the object to test for equality with this parameters object.

Returns:boolean

true if the specified object is equal to this parameters object.

Annotations
@Override
getURIback to summary
public URI getURI()

Returns the URI used to construct this URICertStoreParameters object.

Returns:URI

the URI.

hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for this parameters object. The hash code is generated using the URI supplied at construction.

Returns:int

a hash code value for this parameters object

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns a formatted string describing the parameters including the URI used to construct this object.

Returns:String

a formatted string describing the parameters

Annotations
@Override