- Sort Score
- Num 10 results
- Language All
Results 21 - 28 of 28 for generateKeys (0.14 seconds)
-
cmd/admin-bucket-handlers.go
rpt.SetStatus(bucket, fileName, fmt.Errorf("%s", errorCodes[ErrKMSNotConfigured].Description)) continue } kmsKey := encConfig.KeyID() if kmsKey != "" { _, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{ Name: kmsKey, AssociatedData: kms.Context{"MinIO admin API": "ServerInfoHandler"}, // Context for a test key operation }) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 33.3K bytes - Click Count (0) -
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 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0) -
cmd/test-utils_test.go
os.Exit(2) } return &pem.Block{Type: "EC PRIVATE KEY", Bytes: b} default: return nil } } var priv any 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)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
{ pub := priv.pub return pub[:] } type PublicKey struct { a edwards25519.Point aBytes [32]byte } func (pub *PublicKey) Bytes() []byte { a := pub.aBytes return a[:] } // GenerateKey generates a new Ed25519 private key pair. func GenerateKey() (*PrivateKey, error) { priv := &PrivateKey{} return generateKey(priv) } func generateKey(priv *PrivateKey) (*PrivateKey, error) { fips140.RecordApproved() drbg.Read(priv.seed[:]) precomputePrivateKey(priv) fipsPCT(priv) return priv, nil } func NewPrivateKeyFromSee(seed...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
{ pub := priv.pub return pub[:] } type PublicKey struct { a edwards25519.Point aBytes [32]byte } func (pub *PublicKey) Bytes() []byte { a := pub.aBytes return a[:] } // GenerateKey generates a new Ed25519 private key pair. func GenerateKey() (*PrivateKey, error) { priv := &PrivateKey{} return generateKey(priv) } func generateKey(priv *PrivateKey) (*PrivateKey, error) { fips140.RecordApproved() drbg.Read(priv.seed[:]) precomputePrivateKey(priv) fipsPCT(priv) return priv, nil } func NewPrivateKeyFromSee(seed...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0) -
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
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Click Count (0) -
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)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0) -
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
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 17 21:23:32 GMT 2023 - 602.6K bytes - Click Count (0)