Skip to main content

ManagedCertificate

Represents a managed certificate with its details.

  • Full name: \Bloock\Entity\Key\ManagedCertificate

Properties

id

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

public string $id

protection

Is the protection level for the key.

public string $protection

keyType

Is the type of the key.

public string $keyType

expiration

Is the timestamp indicating when the certificate expires.

public int|null $expiration

key

Is the certificate public key.

public string $key

accessControlType

Is the access control type for the key.

public string $accessControlType

Methods

__construct

Constructs a ManagedCertificate object with the specified parameters.

public __construct(string $id, string $protection, string $keyType, int|null $expiration, string $key, string $accessControlType): mixed

Parameters:

ParameterTypeDescription
$idstring
$protectionstring
$keyTypestring
$expirationint|null
$keystring
$accessControlTypestring

fromProto

public static fromProto(\Bloock\ManagedCertificate $res): \Bloock\Entity\Key\ManagedCertificate
  • This method is static.

Parameters:

ParameterTypeDescription
$res\Bloock\ManagedCertificate

toProto

public toProto(): \Bloock\ManagedCertificate


Automatically generated on 2024-04-02