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

22 lines
813 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.asn1;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes6.dex */
public class DERFactory {
static final ASN1Sequence EMPTY_SEQUENCE = new DERSequence();
static final ASN1Set EMPTY_SET = new DERSet();
/* JADX INFO: Access modifiers changed from: package-private */
public static ASN1Set createSet(ASN1EncodableVector aSN1EncodableVector) {
return aSN1EncodableVector.size() <= 0 ? EMPTY_SET : new DLSet(aSN1EncodableVector);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static ASN1Sequence createSequence(ASN1EncodableVector aSN1EncodableVector) {
return aSN1EncodableVector.size() <= 0 ? EMPTY_SEQUENCE : new DLSequence(aSN1EncodableVector);
}
DERFactory() {
}
}