Sha256: 32966bbee49eecbda45229c7223be9331845db1785605839c51083c9d515af7d

Contents?: true

Size: 318 Bytes

Versions: 3

Compression:

Stored size: 318 Bytes

Contents

# typed: strict
# frozen_string_literal: true

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

      const :algorithm, NamedCurve

      sig { returns(OpenSSL::ASN1::Sequence) }
      def build
        OpenSSL::ASN1::Sequence.new(algorithm.build)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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