Bouncy Castle Cryptography 1.22

org.bouncycastle.bcpg
Class ArmoredInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--org.bouncycastle.bcpg.ArmoredInputStream

public class ArmoredInputStream
extends java.io.InputStream

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)
           
 
Method Summary
 int available()
           
 int read()
           
 
Methods inherited from class java.io.InputStream
close, 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

ArmoredInputStream

public ArmoredInputStream(java.io.InputStream in)
Method Detail

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream
java.io.IOException

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
java.io.IOException

Bouncy Castle Cryptography 1.22