Example usage for Java org.bouncycastle.openpgp PGPUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
InputStream | getDecoderStream(InputStream in) Obtains a stream that can be used to read PGP data from the provided stream. |
String | getSignatureName(int keyAlgorithm, int hashAlgorithm) Return an appropriate name for the signature algorithm represented by the passed in public key and hash algorithm ID numbers. |
void | setDefaultProvider(String provider) Set the provider to be used by the package when it is necessary to find one on the fly. |
void | writeFileToLiteralData(OutputStream out, char fileType, File file) Write out the contents of the provided file as a literal data packet. |