
org.testifyproject.bouncycastle.asn1.DLOutputStream Maven / Gradle / Ivy
package org.testifyproject.bouncycastle.asn1;
import java.org.testifyproject.testifyproject.IOException;
import java.org.testifyproject.testifyproject.OutputStream;
/**
* Stream that outputs encoding based on org.testifyproject.testifyprojectfinite length.
*/
public class DLOutputStream
extends ASN1OutputStream
{
public DLOutputStream(
OutputStream os)
{
super(os);
}
public void writeObject(
ASN1Encodable obj)
throws IOException
{
if (obj != null)
{
obj.toASN1Primitive().toDLObject().encode(this);
}
else
{
throw new IOException("null object org.testifyproject.testifyprojecttected");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy