Skip to main content

@bloock/sdk / LocalCertificateParams

Class: LocalCertificateParams

Represents the parameters for generating a local certificate.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new LocalCertificateParams(keyType, subject, password, expiration): LocalCertificateParams

Constructs an LocalCertificateParams object with the specified parameters.

Parameters

NameType
keyTypeKeyType
subjectSubjectCertificateParams
passwordstring
expirationnumber

Returns

LocalCertificateParams

Defined in

entity/key/local_certificate_args.ts:21

Properties

expiration

expiration: number

Defined in

entity/key/local_certificate_args.ts:12


keyType

keyType: KeyType

Defined in

entity/key/local_certificate_args.ts:9


password

password: string

Defined in

entity/key/local_certificate_args.ts:11


subject

subject: SubjectCertificateParams

Defined in

entity/key/local_certificate_args.ts:10

Methods

toProto

toProto(): LocalCertificateParams

Returns

LocalCertificateParams

Defined in

entity/key/local_certificate_args.ts:33