Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for EncryptionAlgorithm (0.27 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/EncryptionAlgorithm.java

                super(message, cause);
            }
            public EncryptionException(Throwable cause) {
                super(null, cause);
            }
        }
    
        EncryptionAlgorithm NONE = new EncryptionAlgorithm() {
            @Override
            public String getTransformation() {
                return "none";
            }
    
            @Override
            public String getAlgorithm() {
                return "none";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

        }
    
        private
        fun newEncryptionSession(): EncryptionAlgorithm.Session =
            encryptionAlgorithm.newSession(secretKey)
    
        private
        fun secretKeySource(kind: EncryptionKind): SecretKeySource =
            when (kind) {
                EncryptionKind.KEYSTORE ->
                    KeyStoreKeySource(
                        encryptionAlgorithm = encryptionAlgorithm.algorithm,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/util/internal/SupportedEncryptionAlgorithm.java

                }
    
                @Override
                public EncryptionAlgorithm getAlgorithm() {
                    return SupportedEncryptionAlgorithm.this;
                }
    
                @Override
                public SecretKey getKey() {
                    return key;
                }
            };
        }
    
        @Nonnull
        public static EncryptionAlgorithm byTransformation(String transformation) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 06 12:42:13 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/types_test.go

    	}{
    		{
    			name: "feature gate is set to true, return ECDSA-P256",
    			cfg: &ClusterConfiguration{
    				FeatureGates: map[string]bool{
    					features.PublicKeysECDSA: true,
    				},
    				EncryptionAlgorithm: EncryptionAlgorithmRSA4096,
    			},
    			expectedResult: EncryptionAlgorithmECDSAP256,
    		},
    		{
    			name: "feature gate is set to false, return the default RSA-2048",
    			cfg: &ClusterConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 09:39:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKeyTest.kt

                        get() = Hashing.newHasher().hash()
                    override val isEncrypting: Boolean
                        get() = false
                    override val encryptionAlgorithm: EncryptionAlgorithm
                        get() = EncryptionAlgorithm.NONE
                }
            ).string
        }
    
        private
        fun file(path: String) =
            testDirectoryProvider.file(path)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    			Organization: spec.ClientCertAuth.Organizations,
    			Usages:       []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
    		},
    		NotAfter:            spec.ClientCertNotAfter,
    		EncryptionAlgorithm: spec.EncryptionAlgorithm,
    	}
    }
    
    // validateKubeConfig check if the kubeconfig file exist and has the expected CA and server URL
    func validateKubeConfig(outDir, filename string, config *clientcmdapi.Config) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/v1beta3/conversion.go

    	// If we call Convert_v1beta3_ClusterConfiguration_To_kubeadm_ClusterConfiguration() these fields will receive
    	// a default value, thus here we need to reset them back to empty.
    	out.EncryptionAlgorithm = ""
    	out.CertificateValidityPeriod = nil
    	out.CACertificateValidityPeriod = nil
    	// Set default timeouts.
    	kubeadm.SetDefaultTimeouts(&out.Timeouts)
    	return err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go

    				}
    
    				// Assert EncryptionAlgorithm
    				if spec.EncryptionAlgorithm != cfg.EncryptionAlgorithm {
    					t.Errorf("getKubeConfigSpecs for %s EncryptionAlgorithm is %s, expected %s", assertion.kubeConfigFile, spec.EncryptionAlgorithm, cfg.EncryptionAlgorithm)
    				}
    
    				// Asserts InitConfiguration values injected into spec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/certs/certlist_test.go

    			},
    			cfg: &kubeadmapi.InitConfiguration{
    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    					EncryptionAlgorithm: kubeadmapi.EncryptionAlgorithmECDSAP256,
    				},
    			},
    			expectedConfig: &pkiutil.CertConfig{
    				Config: certutil.Config{
    					NotBefore: now.Add(-backdate),
    				},
    				EncryptionAlgorithm: kubeadmapi.EncryptionAlgorithmECDSAP256,
    			},
    		},
    		{
    			name: "cert validity is set",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    	RSAPrivateKeyBlockType = "RSA PRIVATE KEY"
    )
    
    // CertConfig is a wrapper around certutil.Config extending it with EncryptionAlgorithm.
    type CertConfig struct {
    	certutil.Config
    	NotAfter            time.Time
    	EncryptionAlgorithm kubeadmapi.EncryptionAlgorithmType
    }
    
    // NewCertificateAuthority creates new certificate and private key for the certificate authority
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top