10000, * 'ttl' => 300, * 'ttlSignatory' => 86400*3, * 'extraSignatureHeaders' => [], * 'algorithm' => 'sha256', * 'dateHeader' => "D, d M Y H:i:s T", * ] * * @return array * @experimental 31.0.0 */ public function getOptions(): array; /** * generate and returns local signatory including private and public key pair. * * Used to sign outgoing request * * @return Signatory * @experimental 31.0.0 */ public function getLocalSignatory(): Signatory; /** * retrieve details and generate signatory from remote instance. * If signatory cannot be found, returns NULL. * * Used to confirm authenticity of incoming request. * * @param string $remote * * @return Signatory|null must be NULL if no signatory is found * @experimental 31.0.0 */ public function getRemoteSignatory(string $remote): ?Signatory; }