public final class SigningUtils extends Object
| Constructor and Description |
|---|
SigningUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearSign(InputStream input,
InputStream keyring,
String keyId,
String passphrase,
OutputStream output)
Create a clear sign signature over the input data.
|
public static void clearSign(InputStream input, InputStream keyring, String keyId, String passphrase, OutputStream output) throws IOException, org.bouncycastle.openpgp.PGPException, GeneralSecurityException
input - the content to be signedkeyring - the keyringkeyId - the 4 bytes identifier of the key, in hexadecimal formatpassphrase - the passphrase to retrieve the private keyoutput - the output destination of the signatureIOExceptionorg.bouncycastle.openpgp.PGPExceptionGeneralSecurityExceptionCopyright © 2013. All Rights Reserved.