Class ASN1OutputStreamBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1OutputStreamBCFips
- All Implemented Interfaces:
-
IASN1OutputStream,Closeable,AutoCloseable
Wrapper class for
ASN1OutputStream.
-
Constructor Summary
ConstructorsConstructorDescriptionASN1OutputStreamBCFips(OutputStream stream) Creates new wrapper instance forASN1OutputStream.ASN1OutputStreamBCFips(org.bouncycastle.asn1.ASN1OutputStream stream) Creates new wrapper instance forASN1OutputStream. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Delegatesclosemethod call to the wrapped stream.booleanIndicates whether some other object is "equal to" this one.org.bouncycastle.asn1.ASN1OutputStreamGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.voidwriteObject(IASN1Primitive primitive) Calls actualwriteObjectmethod for the wrapped ASN1OutputStream object.
-
Constructor Details
-
ASN1OutputStreamBCFips
Creates new wrapper instance forASN1OutputStream.- Parameters:
-
stream- OutputStream to createASN1OutputStreamto be wrapped
-
ASN1OutputStreamBCFips
public ASN1OutputStreamBCFips(org.bouncycastle.asn1.ASN1OutputStream stream) Creates new wrapper instance forASN1OutputStream.- Parameters:
-
stream-ASN1OutputStreamto be wrapped
-
-
Method Details
-
getASN1OutputStream
public org.bouncycastle.asn1.ASN1OutputStream getASN1OutputStream()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1OutputStream.
-
writeObject
Calls actualwriteObjectmethod for the wrapped ASN1OutputStream object.- Specified by:
-
writeObjectin interfaceIASN1OutputStream - Parameters:
-
primitive- wrapped ASN1Primitive object. - Throws:
-
IOException- if an I/O error occurs.
-
close
Delegatesclosemethod call to the wrapped stream.- Specified by:
-
closein interfaceAutoCloseable - Specified by:
-
closein interfaceCloseable - Specified by:
-
closein interfaceIASN1OutputStream - Throws:
-
IOException
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoStringmethod call to the wrapped object.
-