Class PgpSignatoryFactory
java.lang.Object
org.gradle.plugins.signing.signatory.pgp.PgpSignatoryFactory
Creates
PgpSignatory
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSignatory
(String name, String keyId, File keyRing, String password) createSignatory
(String name, org.bouncycastle.openpgp.PGPSecretKey secretKey, String password) createSignatory
(Project project) createSignatory
(Project project, boolean required) createSignatory
(Project project, String propertyPrefix) createSignatory
(Project project, String propertyPrefix, boolean required) createSignatory
(Project project, String propertyPrefix, String name) createSignatory
(Project project, String propertyPrefix, String name, boolean required) protected Object
getQualifiedPropertyName
(String propertyPrefix, String name) protected PgpKeyId
normalizeKeyId
(String keyId) protected PgpSignatory
readProperties
(Project project, String prefix, String name) protected PgpSignatory
readProperties
(Project project, String prefix, String name, boolean required) protected org.bouncycastle.openpgp.PGPSecretKey
readSecretKey
(InputStream input, String keyId, String sourceDescription) org.bouncycastle.openpgp.PGPSecretKey
readSecretKey
(String keyId, File file) protected org.bouncycastle.openpgp.PGPSecretKey
readSecretKey
(org.bouncycastle.openpgp.PGPSecretKeyRingCollection keyRings, PgpKeyId keyId, String sourceDescription)
-
Constructor Details
-
PgpSignatoryFactory
public PgpSignatoryFactory()
-
-
Method Details
-
createSignatory
-
createSignatory
-
createSignatory
-
createSignatory
-
createSignatory
public PgpSignatory createSignatory(Project project, String propertyPrefix, String name, boolean required) -
createSignatory
-
createSignatory
-
createSignatory
public PgpSignatory createSignatory(String name, org.bouncycastle.openpgp.PGPSecretKey secretKey, String password) -
readProperties
-
readProperties
protected PgpSignatory readProperties(Project project, String prefix, String name, boolean required) -
getQualifiedPropertyName
-
readSecretKey
-
readSecretKey
protected org.bouncycastle.openpgp.PGPSecretKey readSecretKey(InputStream input, String keyId, String sourceDescription) -
readSecretKey
-
normalizeKeyId
-