The private key associated to the public key used to encrypt.
encrypt returns the ciphertext of the given plaintext.
The public key used to encrypt.
exportKey exports a CryptoKeyPair to an {@link ICryptoKeyPairData}. The CryptoKeyPair should be the same as returned by {@link generateSigningKey} or generateEncryptionKey.
generateSigningKey generates a cryptoKeyPair with sane defaults to be used for asymmetric encryption purpose.
generateSigningKey generates a cryptoKeyPair with sane defaults to be used for signing purpose.
importKey imports an ICryptoKeyPairData to a CryptoKeyPair. The ICryptoKeyPairData should be the same as returned by exportKey.
sign returns the signature of the given plaintext
The private key used to sign.
verifySignature verifies that the given signature and plaintext match.
THe public Key associated with the private key used to sign initially.
Generated using TypeDoc
decrypt decrypts the given ciphertext.