Sha256: 8d54a117334ea73eaa3d1afae621d2e456cf8761c47c5003f6c4119ed8a52ce7
Contents?: true
Size: 393 Bytes
Versions: 3
Compression:
Stored size: 393 Bytes
Contents
# typed: strict # frozen_string_literal: true module Paseto module ASN1 class CurvePrivateKey < T::Struct extend T::Sig const :private_key, String sig { returns(OpenSSL::ASN1::OctetString) } def build OpenSSL::ASN1::OctetString.new(private_key) 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/curve_private_key.rb |
ruby-paseto-0.1.1 | lib/paseto/asn1/curve_private_key.rb |
ruby-paseto-0.1.0 | lib/paseto/asn1/curve_private_key.rb |