Closeable, Flushable, AutoCloseablepublic class DEROutputStream extends FilterOutputStream
out| Constructor | Description |
|---|---|
DEROutputStream(OutputStream out) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
writeBitString(byte[] bitStringData) |
|
void |
writeBitString(byte[] bitString,
int unusedBits) |
|
void |
writeEncoded(int tag,
byte[] bytes) |
|
void |
writeInteger(BigInteger value) |
|
void |
writeLength(int length) |
|
void |
writeOctetString(byte[] octets) |
|
void |
writeTag(DERTags tag,
int index) |
|
void |
writeTaggedConstructedObject(int tagNumber,
byte[] object) |
|
void |
writeTaggedObject(int tagNumber,
byte[] object) |
public DEROutputStream(OutputStream out)
public void writeTag(DERTags tag, int index) throws IOException
IOExceptionpublic void writeLength(int length)
throws IOException
IOExceptionpublic void writeEncoded(int tag,
byte[] bytes)
throws IOException
IOExceptionpublic void writeInteger(BigInteger value) throws IOException
IOExceptionpublic void writeOctetString(byte[] octets)
throws IOException
IOExceptionpublic void writeTaggedObject(int tagNumber,
byte[] object)
throws IOException
IOExceptionpublic void writeTaggedConstructedObject(int tagNumber,
byte[] object)
throws IOException
IOExceptionpublic void writeBitString(byte[] bitStringData)
throws IOException
IOExceptionpublic void writeBitString(byte[] bitString,
int unusedBits)
Copyright © 2018. All rights reserved.