Sha256: 4fa3f40072f4e3fa69eeaa76a8e0da47bc6d47371358413375e40327d8b3f038

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module Paseto
  module ASN1
    class PublicKey < T::Struct
      extend T::Sig

      const :public_key, String

      sig { returns(OpenSSL::ASN1::BitString) }
      def build
        OpenSSL::ASN1::BitString.new(public_key)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-paseto-0.1.2 lib/paseto/asn1/public_key.rb
ruby-paseto-0.1.1 lib/paseto/asn1/public_key.rb
ruby-paseto-0.1.0 lib/paseto/asn1/public_key.rb