what-the-bank/sources/org/bouncycastle/asn1/BERFactory.java

21 lines
736 B
Java

package org.bouncycastle.asn1;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes6.dex */
public class BERFactory {
static final BERSequence EMPTY_SEQUENCE = new BERSequence();
static final BERSet EMPTY_SET = new BERSet();
static BERSet createSet(ASN1EncodableVector aSN1EncodableVector) {
return aSN1EncodableVector.size() <= 0 ? EMPTY_SET : new BERSet(aSN1EncodableVector);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static BERSequence createSequence(ASN1EncodableVector aSN1EncodableVector) {
return aSN1EncodableVector.size() <= 0 ? EMPTY_SEQUENCE : new BERSequence(aSN1EncodableVector);
}
BERFactory() {
}
}