KeyType
Represents the type of cryptographic key.
- Full name:
\Bloock\Entity\Key\KeyType
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
EcP256k | public | "EcP256k" | |
Rsa2048 | public | "Rsa2048" | |
Rsa3072 | public | "Rsa3072" | |
Rsa4096 | public | "Rsa4096" | |
Aes128 | public | "Aes128" | |
Aes256 | public | "Aes256" | |
Bjj | public | "Bjj" | |
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