Skip to main content

@bloock/sdk / ManagedCertificate

Class: ManagedCertificate

Represents a managed certificate with its details.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ManagedCertificate(id, protection, keyType, key, accessControlType, expiration?): ManagedCertificate

Constructs a ManagedCertificate object with the specified parameters.

Parameters

NameType
idstring
protectionKeyProtectionLevel
keyTypeKeyType
keystring
accessControlTypeAccessControlType
expiration?number

Returns

ManagedCertificate

Defined in

entity/key/managed_certificate.ts:44

Properties

accessControlType

accessControlType: AccessControlType

Is the access control type for the certificate.

Defined in

entity/key/managed_certificate.ts:33


expiration

Optional expiration: number

Is the timestamp indicating when the certificate expires.

Defined in

entity/key/managed_certificate.ts:25


id

id: string

Is the identifier of the managed certificate (ex: 2abae00b-f3d9-410c-abdf-1ea391d633aa).

Defined in

entity/key/managed_certificate.ts:13


key

key: string

Is the certificate public key.

Defined in

entity/key/managed_certificate.ts:29


keyType

keyType: KeyType

Is the type of the key.

Defined in

entity/key/managed_certificate.ts:21


protection

protection: KeyProtectionLevel

Is the protection level for the key.

Defined in

entity/key/managed_certificate.ts:17

Methods

toProto

toProto(): ManagedCertificate

Returns

ManagedCertificate

Defined in

entity/key/managed_certificate.ts:60


fromProto

fromProto(r): ManagedCertificate

Parameters

NameType
rManagedCertificate

Returns

ManagedCertificate

Defined in

entity/key/managed_certificate.ts:71