Detailed Description
One entry of the 51Did signing key schedule as the cloud publishes it.
A key is in force from {
- See also
- PublicKey::$startsAt} until {
- PublicKey::$endsAt}, the next key's start, or until the next key starts where the cloud sent no end. The spacing between entries is whatever the schedule was built with rather than a fixed period.
Public Member Functions | |
| __construct (DateTimeImmutable $startsAt, string $pem, ?DateTimeImmutable $endsAt=null) | |
Data Fields | |
| readonly DateTimeImmutable | $startsAt |
| When the key comes into force, UTC. | |
| readonly string | $pem |
| The public key in Subject Public Key Info (SPKI) PEM form. | |
| readonly DateTimeImmutable | $endsAt |
| When the key stops being in force, or null where the cloud sent no end. | |
Field Documentation
◆ $endsAt
| readonly DateTimeImmutable fiftyone\pipeline\did\PublicKey::$endsAt |
When the key stops being in force, or null where the cloud sent no end.
This is the scheduled end, because a key may be replaced before it, and the cloud then moves the end to the replacement's start.
