AccessControlType
Represents the access control type a cryptographic key.
- Full name:
\Bloock\Entity\Key\AccessControlType
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
NONE | public | "NONE" | |
TOTP | public | "TOTP" | |
SECRET | public | "SECRET" | |
UNRECOGNIZED | public | "UNRECOGNIZED" |
Methods
toProto
public static toProto(string $type): int
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$type | string |
fromProto
public static fromProto(int $alg): string
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$alg | int |
Automatically generated on 2024-04-02