create Signatory
Creates a PgpSignatory named name based on the private key with id keyId stored in the key ring file keyRing with password password.
In most cases, you want to use SigningExtension to create signatories instead of this method.
Return
the signatory instance
Since
9.5.0
Parameters
the project to which the signing plugin has been applied
the name for the signatory
the key id to look it up in the keyring
the keyring file
the password for the private key
Creates a PgpSignatory named name based on the private key with id keyId stored in the ASCII-armored key with password password.
In most cases, you want to use SigningExtension to create signatories instead of this method.
Return
the signatory instance
Since
9.5.0
Parameters
the project to which the signing plugin has been applied
the name for the signatory
the key id to look it up in the keyring (optional if keyring contains only one master key, and it should be used)
the ASCII-armored key
the password for the private key