- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for EncodeToMemory (0.18 seconds)
-
internal/config/certs.go
} decryptedKey, decErr := x509.DecryptPEMBlock(key, []byte(password)) if decErr != nil { return tls.Certificate{}, ErrTLSWrongPassword(decErr) } keyPEMBlock = pem.EncodeToMemory(&pem.Block{Type: key.Type, Bytes: decryptedKey}) } cert, err := tls.X509KeyPair(certPEMBlock, keyPEMBlock) if err != nil { return tls.Certificate{}, ErrTLSUnexpectedData(nil).Msg(err.Error()) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Aug 14 17:11:51 GMT 2024 - 3.8K bytes - Click Count (0) -
internal/kms/config.go
if err != nil { return tls.Certificate{}, fmt.Errorf("Unable to decrypt KES client private key as specified by the shell environment: %v", err) } keyBytes = pem.EncodeToMemory(&pem.Block{Type: privateKeyPEM.Type, Bytes: keyBytes}) } certificate, err := tls.X509KeyPair(certBytes, keyBytes) if err != nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15K bytes - Click Count (0) -
api/go1.txt
pkg encoding/json, type UnsupportedValueError struct, Value reflect.Value pkg encoding/pem, func Decode([]uint8) (*Block, []uint8) pkg encoding/pem, func Encode(io.Writer, *Block) error pkg encoding/pem, func EncodeToMemory(*Block) []uint8 pkg encoding/pem, type Block struct pkg encoding/pem, type Block struct, Bytes []uint8 pkg encoding/pem, type Block struct, Headers map[string]string pkg encoding/pem, type Block struct, Type string
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0)