It is used to specify the {@code Collection} where the {@code CertStore} will retrieve the certificates and CRLs from.
Creates a new {@code CollectionCertStoreParameters} without a collection. The default collection is an empty and unmodifiable {@code Collection}. sinceAndroid 1.0 // END android-changed this.collection = defaultCollection;
The default collection is an empty and unmodifiable {@code Collection}.
// END android-changed this.collection = defaultCollection;
Creates a new {@code CollectionCertStoreParameters} with the specified collection. The specified collection is not copied and therefore may be modified at any time. paramcollection the collection where the {@code Certificate}s and {@code CRL}s will be retrieved from.throwsNullPointerException if {@code collection is null}.sinceAndroid 1.0 this.collection = collection; if (this.collection == null) { throw new NullPointerException(); }
The specified collection is not copied and therefore may be modified at any time.
this.collection = collection; if (this.collection == null) { throw new NullPointerException(); }
Clones this {@code CollectionCertStoreParameters} instance, but not the underlying collection.returnthe cloned instance.sinceAndroid 1.0 return new CollectionCertStoreParameters(collection);
return new CollectionCertStoreParameters(collection);
Returns the collection where the {@code Certificate}s and {@code CRL}s are retrieved from.returnthe collection where the {@code Certificate}s and {@code CRL}s will be retrieved from.sinceAndroid 1.0 return collection;
return collection;
Returns the string representation of this instance.returnthe string representation of this instance.sinceAndroid 1.0 StringBuffer sb = new StringBuffer("CollectionCertStoreParameters: [\ncollection: "); //$NON-NLS-1$ sb.append(getCollection().toString()); sb.append("\n]"); //$NON-NLS-1$ return sb.toString();
StringBuffer sb = new StringBuffer("CollectionCertStoreParameters: [\ncollection: "); //$NON-NLS-1$ sb.append(getCollection().toString()); sb.append("\n]"); //$NON-NLS-1$ return sb.toString();