Skip to main content

Signer

Represents a signer with various key types and additional configurations.

  • Full name: \Bloock\Entity\Authenticity\Signer

Properties

localKey

public ?\Bloock\Entity\Key\LocalKey $localKey

managedKey

public ?\Bloock\Entity\Key\ManagedKey $managedKey

managedCertificate

public ?\Bloock\Entity\Key\ManagedCertificate $managedCertificate

localCertificate

public ?\Bloock\Entity\Key\LocalCertificate $localCertificate

hashAlg

public ?string $hashAlg

accessControl

public ?\Bloock\Entity\Key\AccessControl $accessControl

Methods

__construct

Creates a Signer instance with a local key, managed key, local certificate or managed certificate.

public __construct( $key, string|null $hashAlg = null, \Bloock\Entity\Key\AccessControl|null $accessControl = null): mixed

Parameters:

ParameterTypeDescription
$key****
$hashAlgstring|null
$accessControl\Bloock\Entity\Key\AccessControl|null

Throws:


toProto

public toProto(): \Bloock\Signer


Automatically generated on 2024-04-02