Class OpenPgpInputStream

    • Method Detail

      • 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 for isLikelyOpenPgpMessage(), as it also accepts other OpenPGP packets at the beginning of the data stream. Use with caution.
        Returns:
        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 an PGPEncryptedData, PGPCompressedData, PGPOnePassSignature or PGPLiteralData packet. The plausability of these data packets is checked as far as possible.
        Returns:
        true if likely OpenPGP message
      • isNonOpenPgp

        public boolean isNonOpenPgp()