org.bouncycastle.openpgp.examples
public class DirectKeySignature extends Object
To sign a key: DirectKeySignature secretKeyFile secretKeyPass publicKeyFile(key to be signed) NotationName NotationValue.
To display a NotationData packet from a publicKey previously signed: DirectKeySignature signedPublicKeyFile.
Note: this example will silently overwrite files, nor does it pay any attention to the specification of "_CONSOLE" in the filename. It also expects that a single pass phrase will have been used.
Method Summary | |
---|---|
static void | main(String[] args) |