EncryptionDetails
Represents details related to the encryption of a record, including algorithm, key, and subject.
- Full name:
\Bloock\Entity\Record\EncryptionDetails
Properties
alg
private ?string $alg
key
private ?string $key
subject
private ?string $subject
Methods
__construct
Constructs a EncryptionDetails object with the specified parameters.
public __construct(string|null $alg, string|null $key, string|null $subject): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$alg | string|null | |
$key | string|null | |
$subject | string|null |
getAlg
Gets the algorithm of the encryption.
public getAlg(): string|null
getKey
Gets the public key of the encryption.
public getKey(): string|null
getSubject
Gets the subject of the subject.
public getSubject(): string|null
fromProto
public static fromProto(\Bloock\EncryptionDetails $details): \Bloock\Entity\Record\EncryptionDetails
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$details | \Bloock\EncryptionDetails |
toProto
public toProto(): \Bloock\EncryptionDetails
Automatically generated on 2024-04-02