Skip to main content

ManagedCertificateParams

Represents parameters for creating a managed certificate.

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

Properties​

keyType​

Is the type of the key.

public string $keyType

subjectParams​

Represents the subject details of the certificate.

public \Bloock\Entity\Key\SubjectCertificateParams $subjectParams

expiration​

Is the number of months until the certificate expiration.

public int $expiration

Methods​

__construct​

Constructs a ManagedCertificateParams object with the specified parameters.

public __construct(string $keyType, \Bloock\Entity\Key\SubjectCertificateParams $params, int $expiration): mixed

Parameters:

ParameterTypeDescription
$keyTypestring
$params\Bloock\Entity\Key\SubjectCertificateParams
$expirationint

fromProto​

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

Parameters:

ParameterTypeDescription
$res\Bloock\ManagedCertificateParams

toProto​

public toProto(): \Bloock\ManagedCertificateParams


Automatically generated on 2024-04-17