Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for generateKeys (0.39 sec)

  1. cmd/admin-handlers.go

    		KeyID: keyID,
    	}
    
    	kmsContext := kms.Context{"MinIO admin API": "KMSKeyStatusHandler"} // Context for a test key operation
    	// 1. Generate a new key using the KMS.
    	key, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{
    		Name:           keyID,
    		AssociatedData: kmsContext,
    	})
    	if err != nil {
    		response.EncryptionErr = err.Error()
    		resp, err := json.Marshal(response)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    				os.Exit(2)
    			}
    			return &pem.Block{Type: "EC PRIVATE KEY", Bytes: b}
    		default:
    			return nil
    		}
    	}
    
    	var priv interface{}
    	var err error
    	priv, err = rsa.GenerateKey(crand.Reader, rsaBits)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to generate private key: %w", err)
    	}
    
    	notBefore := time.Now()
    	notAfter := notBefore.Add(validFor)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. api/go1.13.txt

    pkg crypto/ed25519, const SeedSize = 32
    pkg crypto/ed25519, const SeedSize ideal-int
    pkg crypto/ed25519, const SignatureSize = 64
    pkg crypto/ed25519, const SignatureSize ideal-int
    pkg crypto/ed25519, func GenerateKey(io.Reader) (PublicKey, PrivateKey, error)
    pkg crypto/ed25519, func NewKeyFromSeed([]uint8) PrivateKey
    pkg crypto/ed25519, func Sign(PrivateKey, []uint8) []uint8
    pkg crypto/ed25519, func Verify(PublicKey, []uint8, []uint8) bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg crypto/dsa, const L1024N160 ParameterSizes
    pkg crypto/dsa, const L2048N224 ParameterSizes
    pkg crypto/dsa, const L2048N256 ParameterSizes
    pkg crypto/dsa, const L3072N256 ParameterSizes
    pkg crypto/dsa, func GenerateKey(*PrivateKey, io.Reader) error
    pkg crypto/dsa, func GenerateParameters(*Parameters, io.Reader, ParameterSizes) error
    pkg crypto/dsa, func Sign(io.Reader, *PrivateKey, []uint8) (*big.Int, *big.Int, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  5. api/go1.20.txt

    pkg crypto/ecdh, method (*PublicKey) Bytes() []uint8 #52221
    pkg crypto/ecdh, method (*PublicKey) Curve() Curve #52221
    pkg crypto/ecdh, method (*PublicKey) Equal(crypto.PublicKey) bool #52221
    pkg crypto/ecdh, type Curve interface, GenerateKey(io.Reader) (*PrivateKey, error) #52221
    pkg crypto/ecdh, type Curve interface, NewPrivateKey([]uint8) (*PrivateKey, error) #52221
    pkg crypto/ecdh, type Curve interface, NewPublicKey([]uint8) (*PublicKey, error) #52221
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
Back to top