Gcr.SecretExchange.prototype.send
function send(secret: String, secret_len: Number(gssize)): String { // Gjs wrapper for gcr_secret_exchange_send() }
Send a reply to the other side of the secret exchange, optionally sending a secret.
Gcr.SecretExchange.prototype.receive must have been successfully called at least once on this object. In other words this object must have received data from the other side of the secret exchange, before we can send a secret.
- secret
optionally, a secret to send to the other side
- secret_len
length of secret, or -1 if null terminated
- Returns
a newly allocated string to be sent to the other side of the secret exchange