fromDelegations static method
Creates a DelegationChain object from a list of delegations and a DER-encoded public key.
@param delegations The list of delegations. @param publicKey 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);
}