@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
Name | Type |
---|---|
pkcs12 | Uint8Array |
password | string |
Returns
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
Name | Type |
---|---|
r | LocalCertificate |