Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EncryptionManager ¶
type EncryptionManager struct {
// contains filtered or unexported fields
}
EncryptionManager manages the decryption and encryption of enclave comms.
func NewEncryptionManager ¶
func NewEncryptionManager(enclavePrivateKeyECIES *ecies.PrivateKey) EncryptionManager
func (*EncryptionManager) DecryptBytes ¶
func (rpc *EncryptionManager) DecryptBytes(encryptedBytes []byte) ([]byte, error)
DecryptBytes decrypts the bytes with the enclave's private key.
Click to show internal directories.
Click to hide internal directories.