Skip to main content

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:

ParameterTypeDescription
$algstring|null
$keystring|null
$subjectstring|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:

ParameterTypeDescription
$details\Bloock\EncryptionDetails

toProto

public toProto(): \Bloock\EncryptionDetails


Automatically generated on 2024-04-02