abstract class OpenSSL::PKey::PKey
- OpenSSL::PKey::PKey
- Reference
- Object
Direct Known Subclasses
Defined in:
openssl_ext/pkey/pkey.crConstructors
- .new(pkey : Pointer(LibCrypto::EvpPKey), is_private : Bool)
- .new(is_private : Bool)
- .new(encoded : String, passphrase = nil, is_private = true)
- .new(io : IO, passphrase = nil, is_private = true)
Instance Method Summary
- #finalize
- #private? : Bool
- #public?
- #sign(digest, data)
- #to_der(io)
- #to_der
- #to_pem(io : IO, cipher : OpenSSL::Cipher | Nil = nil, passphrase = nil)
- #to_pem(cipher : OpenSSL::Cipher, passphrase)
- #to_pem
- #to_unsafe : Pointer(LibCrypto::EvpPKey)
- #verify(digest, signature, data)