- java.lang.Object
- 
- java.security.cert.URICertStoreParameters
 
- 
- All Implemented Interfaces:
- Cloneable,- CertStoreParameters
 
 public final class URICertStoreParameters extends Object implements CertStoreParameters Parameters used as input forCertStorealgorithms 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 CertStorealgorithms.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 SummaryConstructors Constructor Description URICertStoreParameters(URI uri)Creates an instance ofURICertStoreParameterswith the specified URI.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description URICertStoreParametersclone()Returns a copy of this object.booleanequals(Object p)Compares the specified object with this parameters object for equality.URIgetURI()Returns the URI used to construct thisURICertStoreParametersobject.inthashCode()Returns a hash code value for this parameters object.StringtoString()Returns a formatted string describing the parameters including the URI used to construct this object.
 
- 
- 
- 
Constructor Detail- 
URICertStoreParameterspublic URICertStoreParameters(URI uri) Creates an instance ofURICertStoreParameterswith the specified URI.- Parameters:
- uri- the URI which contains configuration information.
- Throws:
- NullPointerException- if- uriis null
 
 
- 
 - 
Method Detail- 
getURIpublic URI getURI() Returns the URI used to construct thisURICertStoreParametersobject.- Returns:
- the URI.
 
 - 
clonepublic URICertStoreParameters clone() Returns a copy of this object. Changes to the copy will not affect the original and vice versa.- Specified by:
- clonein interface- CertStoreParameters
- Overrides:
- clonein class- Object
- Returns:
- the copy
- See Also:
- Cloneable
 
 - 
hashCodepublic int hashCode() Returns a hash code value for this parameters object. The hash code is generated using the URI supplied at construction.- Overrides:
- hashCodein class- Object
- Returns:
- a hash code value for this parameters.
- See Also:
- Object.equals(java.lang.Object),- System.identityHashCode(java.lang.Object)
 
 - 
equalspublic 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:
- equalsin class- Object
- Parameters:
- p- the object to test for equality with this parameters.
- Returns:
- true if the specified object is equal to this parameters object.
- See Also:
- Object.hashCode(),- HashMap
 
 
- 
 
-