668
edits
| Line 13: | Line 13: | ||
function gotAssertion(assertion) { | function gotAssertion(assertion) { | ||
var key = generateKey(); | |||
// wrap the key | // wrap the key | ||
| Line 23: | Line 23: | ||
} | } | ||
The | The key must be base64-encoded. The wrappedKey that is passed back is also base64-encoded. The plaintext is expected to be fairly short: mostly this is for wrapping other keys. | ||
=== Internal API === | === Internal API === | ||
edits