Klasse OpenPgpInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.BufferedInputStream
org.pgpainless.decryption_verification.OpenPgpInputStream
- Alle implementierten Schnittstellen:
Closeable,AutoCloseable
InputStream used to determine the nature of potential OpenPGP data.
-
Feldübersicht
FelderVon Klasse geerbte Felder java.io.FilterInputStream
in -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanbooleanReturn true, if the data is possibly binary OpenPGP.booleanReturns true, if the underlying data is very likely (more than 99,9%) an OpenPGP message.booleanVon Klasse geerbte Methoden java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset, skip, transferToVon Klasse geerbte Methoden java.io.FilterInputStream
readVon Klasse geerbte Methoden java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes
-
Felddetails
-
MAX_BUFFER_SIZE
public static final int MAX_BUFFER_SIZE- Siehe auch:
-
-
Konstruktordetails
-
OpenPgpInputStream
- Löst aus:
IOException
-
OpenPgpInputStream
- Löst aus:
IOException
-
-
Methodendetails
-
isAsciiArmored
public boolean isAsciiArmored() -
isBinaryOpenPgp
public boolean isBinaryOpenPgp()Return true, if the data is possibly binary OpenPGP. The criterion for this are less strict than forisLikelyOpenPgpMessage(), as it also accepts other OpenPGP packets at the beginning of the data stream. Use with caution.- Gibt zurück:
- true if data appears to be binary OpenPGP data
-
isLikelyOpenPgpMessage
public boolean isLikelyOpenPgpMessage()Returns true, if the underlying data is very likely (more than 99,9%) an OpenPGP message. OpenPGP Message means here that it starts with either anPGPEncryptedData,PGPCompressedData,PGPOnePassSignatureorPGPLiteralDatapacket. The plausability of these data packets is checked as far as possible.- Gibt zurück:
- true if likely OpenPGP message
-
isNonOpenPgp
public boolean isNonOpenPgp()
-