- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for PGPSecretKey (0.14 sec)
-
platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SimpleKeyRing.groovy
PGPSignatureGenerator generator = new PGPSignatureGenerator(new BcPGPContentSignerBuilder(secretKey.getPublicKey().getAlgorithm(), PGPUtil.SHA512)) generator.init(PGPSignature.BINARY_DOCUMENT, getPrivateKey(secretKey, password)) generator } private static PGPPrivateKey getPrivateKey(PGPSecretKey secretKey, String password) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SigningFixtures.groovy
def armored = new ArmoredSignatureType() return armored.sign(validSignatory, toSign) } static PGPSecretKey readSecretKey(File keyringsDir) { def keyring = new File(keyringsDir, "secring.gpg") PGPSecretKey secretKey = null keyring.withInputStream { new PGPSecretKeyRingCollection(it, new BcKeyFingerprintCalculator()).each {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 12.1K bytes - Viewed (0) -
platforms/software/security/src/main/java/org/gradle/plugins/signing/signatory/pgp/PgpSignatoryFactory.java
} return readSecretKey(keyRingCollection, normalizeKeyId(keyId), sourceDescription); } protected PGPSecretKey readSecretKey(PGPSecretKeyRingCollection keyRings, final PgpKeyId keyId, String sourceDescription) { PGPSecretKey key = findSecretKey(keyRings, keyId); if (key == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/software/security/src/main/java/org/gradle/security/internal/pgp/BaseInMemoryPgpSignatoryProvider.java
if (keyId == null) { PGPSecretKey key = new JcaPGPSecretKeyRing(in).getSecretKey(); return factory.createSignatory(name, key, password); } else { PgpKeyId expectedKeyId = new PgpKeyId(keyId); for (PGPSecretKeyRing keyring : new JcaPGPSecretKeyRingCollection(in)) { for (PGPSecretKey key : keyring) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/software/security/src/main/java/org/gradle/plugins/signing/signatory/pgp/PgpSignatory.java
static { SecuritySupport.assertInitialized(); } private final String name; private final PGPSecretKey secretKey; private final PGPPrivateKey privateKey; public PgpSignatory(String name, PGPSecretKey secretKey, String password) { this.name = name; this.secretKey = secretKey; this.privateKey = createPrivateKey(secretKey, password); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 4.6K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt
Method <org.gradle.plugins.signing.signatory.pgp.PgpSignatoryFactory.readSecretKey(java.lang.String, java.io.File)> has arguments/return type org.bouncycastle.openpgp.PGPSecretKey that is not Gradle public API or primitive or built-in...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 12:21:31 UTC 2024 - 91.3K bytes - Viewed (0)