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

20 lines
583 B
Java

package org.bouncycastle.asn1;
import java.io.IOException;
import java.io.OutputStream;
/* loaded from: classes6.dex */
public class DLOutputStream extends ASN1OutputStream {
@Override // org.bouncycastle.asn1.ASN1OutputStream
public void writeObject(ASN1Encodable aSN1Encodable) throws IOException {
if (aSN1Encodable == null) {
throw new IOException("null object detected");
}
aSN1Encodable.toASN1Primitive().toDLObject().encode(this);
}
public DLOutputStream(OutputStream outputStream) {
super(outputStream);
}
}