Class: Ksef::Credentials::Certificate

Inherits:
Object
  • Object
show all
Defined in:
lib/ksef/credentials/certificate.rb

Overview

Note:

Stub for v0.1.0 — interactive sessions backed by a qualified seal require XAdES-signed XML which is out of scope for this release. The class is here so the public API shape doesn’t shift when we land it.

Certificate-based credential (qualified seal / XAdES signature flow).

Instance Method Summary collapse

Constructor Details

#initializeCertificate

Returns a new instance of Certificate.

Raises:

  • (NotImplementedError)


11
12
13
14
15
# File 'lib/ksef/credentials/certificate.rb', line 11

def initialize(*)
  raise NotImplementedError,
        "Certificate-based authentication is not implemented in ksef-rb v#{Ksef::VERSION}. " \
        "Use Ksef::Credentials::Token for now; tracked for a future release."
end