| Modifier and Type | Field and Description |
|---|---|
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public DERWriter | |
| public byte[] | |
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. Writes |
| public void | |
| public void | writeBigInteger(byte...
BigInteger bytesThe integer is always considered to be positive, so if the first byte is < 0, we pad with a zero to make it positive |
| public void | writeBigInteger(byte[]
BigInteger bytesOffset in bytes data off, int Number of bytes to write len)The integer is always considered to be positive, so if the first byte is < 0, we pad with a zero to make it positive |
| public void | |
| public void | |
| public void |
| lenBytes | back to summary |
|---|---|
| private final byte[] lenBytes | |
| DERWriter | back to summary |
|---|---|
| public DERWriter() | |
| DERWriter | back to summary |
|---|---|
| public DERWriter(int initialSize) | |
| DERWriter | back to summary |
|---|---|
| public DERWriter(OutputStream stream) | |
| isPositive | back to summary |
|---|---|
| private boolean isPositive(byte b) | |
| startSequence | back to summary |
|---|---|
| public DERWriter startSequence() | |
| toByteArray | back to summary |
|---|---|
| public byte[] toByteArray() throws IOException | |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
| |
| writeBigInteger | back to summary |
|---|---|
| public void writeBigInteger(BigInteger value) throws IOException | |
| writeBigInteger | back to summary |
|---|---|
| public void writeBigInteger(byte... bytes) throws IOException The integer is always considered to be positive, so if the first byte is < 0, we pad with a zero to make it positive
| |
| writeBigInteger | back to summary |
|---|---|
| public void writeBigInteger(byte[] bytes, int off, int len) throws IOException The integer is always considered to be positive, so if the first byte is < 0, we pad with a zero to make it positive
| |
| writeLength | back to summary |
|---|---|
| public void writeLength(int len) throws IOException | |
| writeObject | back to summary |
|---|---|
| public void writeObject(ASN1Object obj) throws IOException | |
| writeObject | back to summary |
|---|---|
| public void writeObject(byte tag, int len, byte... data) throws IOException | |