Skip to main content

@bloock/sdk / Signer

Class: Signer

Represents a signer with various key types and additional configurations.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Signer(key, hashAlg?, accessControl?): Signer

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

Parameters

NameType
keystring | LocalKey | ManagedKey | LocalCertificate | ManagedCertificate
hashAlg?HashAlg
accessControl?AccessControl

Returns

Signer

Defined in

entity/authenticity/signer.ts:30

Properties

accessControl

Optional accessControl: AccessControl

Defined in

entity/authenticity/signer.ts:22


hashAlg

Optional hashAlg: HashAlg

Defined in

entity/authenticity/signer.ts:21


localCertificate

Optional localCertificate: LocalCertificate

Defined in

entity/authenticity/signer.ts:19


localKey

Optional localKey: LocalKey

Defined in

entity/authenticity/signer.ts:16


managedCertificate

Optional managedCertificate: ManagedCertificate

Defined in

entity/authenticity/signer.ts:18


managedKey

Optional managedKey: ManagedKey

Defined in

entity/authenticity/signer.ts:17

Methods

toProto

toProto(): Signer

Returns

Signer

Defined in

entity/authenticity/signer.ts:55