Skip to main content

LocalCertificateArgs

Represents the parameters for generating a local certificate.

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

Properties

keyType

public string $keyType

subjectParams

public \Bloock\Entity\Key\SubjectCertificateParams $subjectParams

password

public string $password

expiration

public int $expiration

Methods

__construct

Constructs an LocalCertificateParams object with the specified parameters.

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

Parameters:

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

fromProto

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

Parameters:

ParameterTypeDescription
$res\Bloock\LocalCertificateParams

toProto

public toProto(): \Bloock\LocalCertificateParams


Automatically generated on 2024-04-02