pkcs7_encrypt | R Documentation |
Encrypt or decrypt messages using PKCS7 smime format. Note PKCS7 only supports RSA keys.
pkcs7_encrypt(message, cert, pem = TRUE)
pkcs7_decrypt(input, key, der = is.raw(input))
message |
text or raw vector with data to encrypt |
cert |
the certificate with public key to use for encryption |
pem |
convert output pkcs7 data to PEM format |
input |
file path or string with PEM or raw vector with p7b data |
key |
private key to decrypt data |
der |
assume input is in DER format (rather than PEM) |
encrypt_envelope
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.