relies on two keys.
"Public Key" to encrypt, which you don't keep secret.
"Private Key" to decrypt
also, you have a "pass-phrase" which can be used to keep the private key secret.
continued...