Sha256: 5098ec6680a75006a4ea32a3024cd0e6c0cbe45f9fc990613c861b0b45d2819a

Contents?: true

Size: 247 Bytes

Versions: 1

Compression:

Stored size: 247 Bytes

Contents

class CertValidator
  class Asn1
    def initialize(der)
      @der = der
    end

    def decode
      @decode ||= OpenSSL::ASN1.decode @der
    end

    def extension_payload
      OpenSSL::ASN1.decode(decode.value.last).value
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cert_validator-0.0.1 lib/cert_validator/asn1.rb