KeyProtectionLevel
Represents the protection level of a cryptographic key.
- Full name:
\Bloock\Entity\Key\KeyProtectionLevel
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
SOFTWARE | public | "SOFTWARE" | |
HSM | public | "HSM" | |
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