class OpenSSL::PKey
- OpenSSL::PKey
- Reference
- Object
Direct Known Subclasses
Defined in:
cherry/openssl/pkey/pkey.crConstructors
- .new(pkey : LibCrypto::EVP_PKEY, keyType : OpenSSL::PKey::KeyType = KeyType::PublicKey)
- .new(keyType : OpenSSL::PKey::KeyType = KeyType::All)
Class Method Summary
- .parse_private_key(private_key : String, password = nil)
- .parse_public_key(public_key : String, password = nil)
Instance Method Summary
- #finalize
- #keyType : KeyType
- #modulus_size
- #pkey : LibCrypto::EVP_PKEY
- #pkey=(pkey : LibCrypto::EVP_PKEY)
- #private_key?
- #public_key?
- #to_dsa
- #to_rsa
- #to_unsafe : LibCrypto::EVP_PKEY