public SigningCredentials SigningCredentials() =>
 activeCredential?.ToSigningCrendentials() ?? throw new InvalidDataException("No active credential");