Skip to main content

LocalCertificate

Represents a local certificate along with its password.

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

Properties

pkcs12

public array $pkcs12

password

public string $password

Methods

__construct

Constructs a LocalCertificate object with the specified parameters.

public __construct(array $pkcs12, string $password): mixed

Parameters:

ParameterTypeDescription
$pkcs12array
$passwordstring

fromProto

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

Parameters:

ParameterTypeDescription
$res\Bloock\LocalCertificate

toProto

public toProto(): \Bloock\LocalCertificate


Automatically generated on 2024-04-02