fromDelegations static method
Creates a DelegationChain object from a list of delegations and a DER-encoded public key.
delegations
is the list of delegations.
publicKey
is the DER-encoded public key of the key-pair signing
the first delegation.
Implementation
static DelegationChain fromDelegations(
List<SignedDelegation> delegations,
DerEncodedBlob publicKey,
) {
return DelegationChain(delegations, publicKey);
}