|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Generator
|
+--org.bouncycastle.asn1.BERGenerator
|
+--org.bouncycastle.asn1.BEROctetStringGenerator
A generator for indefinite-length OCTET STRINGs
| Fields inherited from class org.bouncycastle.asn1.ASN1Generator |
_out |
| Constructor Summary | |
BEROctetStringGenerator(java.io.OutputStream out)
Use the passed in stream as the target for the generator, writing out the header tag for a constructed OCTET STRING. |
|
BEROctetStringGenerator(java.io.OutputStream out,
int tagNo,
boolean isExplicit)
Use the passed in stream as the target for the generator, writing out the header tag for a tagged constructed OCTET STRING (possibly implicit). |
|
| Method Summary | |
java.io.OutputStream |
getOctetOutputStream()
Return a stream representing the content target for this OCTET STRING |
java.io.OutputStream |
getOctetOutputStream(byte[] buf)
Return a stream representing the content target for this OCTET STRING |
| Methods inherited from class org.bouncycastle.asn1.BERGenerator |
getRawOutputStream, writeBEREnd, writeBERHeader |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BEROctetStringGenerator(java.io.OutputStream out)
throws java.io.IOException
out - target streamjava.io.IOException - if the target stream cannot be written to.
public BEROctetStringGenerator(java.io.OutputStream out,
int tagNo,
boolean isExplicit)
throws java.io.IOException
out - target streamtagNo - the tag number to introduceisExplicit - true if this is an explicitly tagged object, false otherwise.java.io.IOException - if the target stream cannot be written to.| Method Detail |
public java.io.OutputStream getOctetOutputStream()
public java.io.OutputStream getOctetOutputStream(byte[] buf)
buf - the buffer to use for chunking the data.
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||