fromDelegations static method

DelegationChain fromDelegations(
  1. List<SignedDelegation> delegations,
  2. DerEncodedBlob publicKey
)

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);
}