Skip to main content

AccessControlType

Represents the access control type a cryptographic key.

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

Constants

ConstantVisibilityTypeValue
NONEpublic"NONE"
TOTPpublic"TOTP"
SECRETpublic"SECRET"
UNRECOGNIZEDpublic"UNRECOGNIZED"

Methods

toProto

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

Parameters:

ParameterTypeDescription
$typestring

fromProto

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

Parameters:

ParameterTypeDescription
$algint


Automatically generated on 2024-04-02