Sha256: 9058e94c36c8b7ee9cf98468b0e29c2ac9dcb32204713a5cdda7ef49004a47bc
Contents?: true
Size: 431 Bytes
Versions: 4
Compression:
Stored size: 431 Bytes
Contents
# frozen_string_literal: true require "openssl" require "openssl/signature_algorithm/base" module OpenSSL module SignatureAlgorithm class RSAPKCS1 < Base class SigningKey < OpenSSL::PKey::RSA def verify_key public_key end end DEFAULT_KEY_SIZE = 2048 def generate_signing_key(size: DEFAULT_KEY_SIZE) @signing_key = SigningKey.new(size) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems