what-the-bank/sources/org/bouncycastle/x509/X509CollectionStoreParamete...

35 lines
1.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.x509;
import java.util.ArrayList;
import java.util.Collection;
/* loaded from: classes6.dex */
public class X509CollectionStoreParameters implements X509StoreParameters {
private Collection collection;
public String toString() {
StringBuffer stringBuffer = new StringBuffer("X509CollectionStoreParameters: [\n");
StringBuilder sb = new StringBuilder(" collection: ");
sb.append(this.collection);
sb.append("\n");
stringBuffer.append(sb.toString());
stringBuffer.append("]");
return stringBuffer.toString();
}
public Collection getCollection() {
return new ArrayList(this.collection);
}
public Object clone() {
return new X509CollectionStoreParameters(this.collection);
}
public X509CollectionStoreParameters(Collection collection) {
if (collection == null) {
throw new NullPointerException("collection cannot be null");
}
this.collection = collection;
}
}