Decrypt decrypts messages of variable length using AES 128 GCM. The encryption key is referenced using the label.
(ctx context.Context, ciphertext []byte, label string)
| 39 | // Decrypt decrypts messages of variable length using AES 128 GCM. |
| 40 | // The encryption key is referenced using the label. |
| 41 | Decrypt(ctx context.Context, ciphertext []byte, label string) ([]byte, error) |
| 42 | |
| 43 | // ServerCertificate returns the X.509 certificate and private key of the given label. |
| 44 | ServerCertificate(ctx context.Context, label string) (tls.Certificate, error) |
no outgoing calls