|
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.bcpg.ArmoredInputStream.Builder
Method Summary | |
ArmoredInputStream |
build(java.io.InputStream inputStream)
|
ArmoredInputStream.Builder |
setDetectMissingCRC(boolean detectMissingCRC)
Change how the stream should react if it encounters missing CRC checksum. |
ArmoredInputStream.Builder |
setIgnoreCRC(boolean ignoreCRC)
Specifically ignore the CRC if in place (this will also avoid the cost of calculation). |
ArmoredInputStream.Builder |
setParseForHeaders(boolean hasHeaders)
Enable or disable header parsing (default value true). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public ArmoredInputStream.Builder setParseForHeaders(boolean hasHeaders)
hasHeaders
- true if headers should be expected, false otherwise.public ArmoredInputStream.Builder setDetectMissingCRC(boolean detectMissingCRC)
IOException
will be thrown if a missing CRC checksum is encountered.detectMissingCRC
- false if ignore missing CRC sums, true for exceptionpublic ArmoredInputStream.Builder setIgnoreCRC(boolean ignoreCRC)
ignoreCRC
- true if CRC should be ignored, false otherwise.public ArmoredInputStream build(java.io.InputStream inputStream) throws java.io.IOException
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |