Sha256: 584f1bd867614394592483984fd86aba38c7719b1ebef66bfcf259f6a94569af
Contents?: true
Size: 540 Bytes
Versions: 3
Compression:
Stored size: 540 Bytes
Contents
# typed: strict # frozen_string_literal: true module Paseto module ASN1 class SubjectPublicKeyInfo < T::Struct extend T::Sig const :algorithm_identifier, AlgorithmIdentifier const :public_key, PublicKey sig { returns(OpenSSL::ASN1::Sequence) } def build OpenSSL::ASN1::Sequence.new( [ algorithm_identifier.build, public_key.build ] ) end sig { returns(String) } def to_der build.to_der end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-paseto-0.1.2 | lib/paseto/asn1/subject_public_key_info.rb |
ruby-paseto-0.1.1 | lib/paseto/asn1/subject_public_key_info.rb |
ruby-paseto-0.1.0 | lib/paseto/asn1/subject_public_key_info.rb |