|
Bouncy Castle Cryptography 1.33 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.bouncycastle.bcpg.ArmoredInputStream
reader for Base64 armored objects - read the headers and then start returning bytes when the data is reached. An IOException is thrown if the CRC check fails.
Constructor Summary | |
ArmoredInputStream(java.io.InputStream in)
Create a stream for reading a PGP armoured message, parsing up to a header and then reading the data that follows. |
|
ArmoredInputStream(java.io.InputStream in,
boolean hasHeaders)
Create an armoured input stream which will assume the data starts straight away, or parse for headers first depending on the value of hasHeaders. |
Method Summary | |
int |
available()
|
void |
close()
|
java.lang.String |
getArmorHeaderLine()
Return the armor header line (if there is one) |
java.lang.String[] |
getArmorHeaders()
Return the armor headers (the lines after the armor header line), |
boolean |
isClearText()
|
int |
read()
|
Methods inherited from class java.io.InputStream |
mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ArmoredInputStream(java.io.InputStream in) throws java.io.IOException
in
- public ArmoredInputStream(java.io.InputStream in, boolean hasHeaders) throws java.io.IOException
in
- hasHeaders
- true if headers are to be looked for, false otherwise.Method Detail |
public int available() throws java.io.IOException
java.io.IOException
public boolean isClearText()
public java.lang.String getArmorHeaderLine()
public java.lang.String[] getArmorHeaders()
public int read() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
|
Bouncy Castle Cryptography 1.33 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |