Class ResourceCertStoreParameters
- java.lang.Object
-
- org.globus.gsi.stores.ResourceCertStoreParameters
-
- All Implemented Interfaces:
java.lang.Cloneable,java.security.cert.CertStoreParameters
public class ResourceCertStoreParameters extends java.lang.Object implements java.security.cert.CertStoreParametersCreated by IntelliJ IDEA. User: turtlebender Date: Dec 29, 2009 Time: 1:06:39 PM To change this template use File | Settings | File Templates.
-
-
Constructor Summary
Constructors Constructor Description ResourceCertStoreParameters(java.lang.String certLocationPattern, java.lang.String crlLocationPattern)Please use theStoresclass to generate Key/Cert stores
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()Makes a copy of thisCertStoreParameters.java.lang.StringgetCertLocationPattern()java.lang.StringgetCrlLocationPattern()
-
-
-
Constructor Detail
-
ResourceCertStoreParameters
public ResourceCertStoreParameters(java.lang.String certLocationPattern, java.lang.String crlLocationPattern)Please use theStoresclass to generate Key/Cert stores
-
-
Method Detail
-
getCrlLocationPattern
public java.lang.String getCrlLocationPattern()
-
getCertLocationPattern
public java.lang.String getCertLocationPattern()
-
clone
public java.lang.Object clone()
Makes a copy of thisCertStoreParameters.The precise meaning of "copy" may depend on the class of the
CertStoreParametersobject. A typical implementation performs a "deep copy" of this object, but this is not an absolute requirement. Some implementations may perform a "shallow copy" of some or all of the fields of this object.Note that the
CertStore.getInstancemethods make a copy of the specifiedCertStoreParameters. A deep copy implementation ofcloneis safer and more robust, as it prevents the caller from corrupting a sharedCertStoreby subsequently modifying the contents of its initialization parameters. However, a shallow copy implementation ofcloneis more appropriate for applications that need to hold a reference to a parameter contained in theCertStoreParameters. For example, a shallow copy clone allows an application to release the stores of a particularCertStoreinitialization parameter immediately, rather than waiting for the garbage collection mechanism. This should be done with the utmost care, since theCertStoremay still be in use by other threads.Each subclass should state the precise behavior of this method so that users and developers know what to expect.
- Specified by:
clonein interfacejava.security.cert.CertStoreParameters- Overrides:
clonein classjava.lang.Object- Returns:
- a copy of this
CertStoreParameters
-
-