apoc v1.0.0-rc1 Apoc.Hazmat.RSA.PublicKey View Source
Struct and set of functions for working with an RSA public key
For information on key formats in PKI see PKI PEM overview or RFC5912
See also Erlang Public Key Records
Link to this section Summary
Functions
Decrypts a message with the given public key (uses standard PKCS1 padding as decryption using the public key is not sensitive).
Dumps a key into PEM format
Encrypts a message with the given public key (uses PKCS1-OAEP padding).
Loads a pem encoded public key certificate string.
Link to this section Types
Specs
Link to this section Functions
Specs
Decrypts a message with the given public key (uses standard PKCS1 padding as decryption using the public key is not sensitive).
See Apoc.RSA.decrypt/2
Specs
Dumps a key into PEM format
Specs
Encrypts a message with the given public key (uses PKCS1-OAEP padding).
See Apoc.RSA.encrypt/2
Specs
Loads a pem encoded public key certificate string.