Abstract
Abstract
getReturn the id of the recipient's key used to encrypt the content.
This id will often be the recipient's certificate's serial number, in which case the issuer will be ignored: This method is meant to be used by the recipient so it can look up the corresponding private key to decrypt the content. We could certainly extract the issuer to verify it matches the expected one, but if the id doesn't match any key decryption won't even be attempted, so there's really no risk from ignoring the issuer.
Static
deserializeDeserialize an EnvelopedData value into a SessionlessEnvelopedData
or SessionEnvelopedData
instance.
Depending on the type of RecipientInfo.
Generated using TypeDoc
Return the plaintext for the ciphertext contained in the current EnvelopedData value.