/** * Returns a shallow clone. The returned contents are not copied, so adding * or removing objects will effect this. * * @return a shallow clone. */ public Object clone() { return new X509CollectionStoreParameters(collection); }
public void engineInit(X509StoreParameters params) { if (!(params instanceof X509CollectionStoreParameters)) { throw new IllegalArgumentException(params.toString()); } _store = new CollectionStore(((X509CollectionStoreParameters)params).getCollection()); }
public void engineInit(X509StoreParameters params) { if (!(params instanceof X509CollectionStoreParameters)) { throw new IllegalArgumentException(params.toString()); } _store = new CollectionStore(((X509CollectionStoreParameters)params).getCollection()); }
public void engineInit(X509StoreParameters params) { if (!(params instanceof X509CollectionStoreParameters)) { throw new IllegalArgumentException(params.toString()); } _store = new CollectionStore(((X509CollectionStoreParameters)params).getCollection()); }
/** * Initializes this store. * * @param params The {@link X509CollectionStoreParameters}s for this store. * @throws IllegalArgumentException if <code>params</code> is no instance of * <code>X509CollectionStoreParameters</code>. */ public void engineInit(X509StoreParameters params) { if (!(params instanceof X509CollectionStoreParameters)) { throw new IllegalArgumentException( "Initialization parameters must be an instance of " + X509CollectionStoreParameters.class.getName() + "."); } _store = new CollectionStore(((X509CollectionStoreParameters)params) .getCollection()); }