Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writePublicKeyRingTo (0.3 sec)

  1. platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SimpleKeyRing.groovy

    @CompileStatic
    @Canonical
    class SimpleKeyRing {
        final String name
        final PGPSecretKey secretKey
        final PGPPublicKey publicKey
        final String password
    
        void writePublicKeyRingTo(File file) {
            def asciiArmored = file.name.endsWith(".keys")
            file.newOutputStream().withCloseable {stream ->
                (asciiArmored ? new ArmoredOutputStream(stream) : stream).withCloseable { out ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top