Holder
Represents a Holder identity.
- Full name:
\Bloock\Entity\Identity\Holder
Properties
did
private \Bloock\Entity\Identity\Did $did
key
private \Bloock\Entity\Key\Key $key
Methods
__construct
Returns a new instance of Holder identity for the given parameters.
public __construct(string $did, \Bloock\Entity\Identity\DidMethod $didMethod, \Bloock\Entity\Key\Key $key): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$did | string | |
$didMethod | \Bloock\Entity\Identity\DidMethod | |
$key | \Bloock\Entity\Key\Key |
getDid
Gets the did object of the holder.
public getDid(): \Bloock\Entity\Identity\Did
getKey
Gets the key object of the holder.
public getKey(): \Bloock\Entity\Key\Key
Automatically generated on 2024-04-02