class OpenSSL::PKey::EC

Defined in:

openssl_ext/pkey/ec.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class OpenSSL::PKey::PKey

finalize finalize, private? : Bool private?, public? public?, sign(digest, data) sign, to_der(io)
to_der
to_der
, to_pem(io : IO, cipher : OpenSSL::Cipher | Nil = nil, passphrase = nil)
to_pem(cipher : OpenSSL::Cipher, passphrase)
to_pem
to_pem
, to_unsafe : Pointer(LibCrypto::EvpPKey) to_unsafe, verify(digest, signature, data) verify

Constructor methods inherited from class OpenSSL::PKey::PKey

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)
new

Constructor Detail

def self.new(key : String) #

[View source]
def self.new(io : IO) #

[View source]
def self.new(size : Int32) #

[View source]

Class Method Detail

def self.generate(size : Int32) #

[View source]
def self.generate(type : String) #

[View source]

Instance Method Detail

def ec_sign(data) #

[View source]
def ec_verify(digest, signature) #

[View source]
def group #

[View source]
def group_degree #

[View source]
def public_key #

[View source]
def to_der(io) #

[View source]
def to_pem(io) #

[View source]
def to_text #

[View source]