what-the-bank/sources/org/bouncycastle/asn1/util/Dump.java

21 lines
649 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.asn1.util;
import java.io.FileInputStream;
import org.bouncycastle.asn1.ASN1InputStream;
import org.bouncycastle.asn1.ASN1Primitive;
/* loaded from: classes6.dex */
public class Dump {
public static void main(String[] strArr) throws Exception {
ASN1InputStream aSN1InputStream = new ASN1InputStream(new FileInputStream(strArr[0]));
while (true) {
ASN1Primitive readObject = aSN1InputStream.readObject();
if (readObject == null) {
return;
} else {
System.out.println(ASN1Dump.dumpAsString(readObject));
}
}
}
}