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:
Parameter | Type | Description |
---|---|---|
$keyType | string | |
$params | \Bloock\Entity\Key\SubjectCertificateParams | |
$expiration | int |
fromProto
public static fromProto(\Bloock\ManagedCertificateParams $res): \Bloock\Entity\Key\ManagedCertificateParams
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$res | \Bloock\ManagedCertificateParams |
toProto
public toProto(): \Bloock\ManagedCertificateParams
Automatically generated on 2024-04-02