Skip to main content

@bloock/sdk / LocalCertificate

Class: LocalCertificate

Represents a local certificate along with its password.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new LocalCertificate(pkcs12, password): LocalCertificate

Constructs a LocalCertificate object with the specified parameters.

Parameters

NameType
pkcs12Uint8Array
passwordstring

Returns

LocalCertificate

Defined in

entity/key/local_certificate.ts:15

Properties

password

password: string

Defined in

entity/key/local_certificate.ts:8


pkcs12

pkcs12: Uint8Array

Defined in

entity/key/local_certificate.ts:7

Methods

toProto

toProto(): LocalCertificate

Returns

LocalCertificate

Defined in

entity/key/local_certificate.ts:20


fromProto

fromProto(r): LocalCertificate

Parameters

NameType
rLocalCertificate

Returns

LocalCertificate

Defined in

entity/key/local_certificate.ts:27