Skip to main content

CertificateType

Represents the type of certificate.

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

Constants

ConstantVisibilityTypeValue
PEMpublic"PEM"
PFXpublic"PFX"
UNRECOGNIZEDpublic"UNRECOGNIZED"

Methods

toProto

public static toProto(string $type): int
  • This method is static.

Parameters:

ParameterTypeDescription
$typestring

fromProto

public static fromProto(int $type): string
  • This method is static.

Parameters:

ParameterTypeDescription
$typeint


Automatically generated on 2024-04-02