import { PublicJwk } from "../modules/kms/jwk/PublicJwk.js";

//#region src/crypto/JwsSigner.d.ts
interface JwsSignerDid {
  method: 'did';
  didUrl: string;
}
interface JwsSignerX5c {
  method: 'x5c';
  /**
   *
   * Array of base64-encoded certificate strings in the DER-format.
   *
   * The certificate containing the public key corresponding to the key used to digitally sign the JWS MUST be the first certificate.
   */
  x5c: string[];
}
interface JwsSignerJwk {
  method: 'jwk';
  jwk: PublicJwk;
}
type JwsSigner = JwsSignerDid | JwsSignerX5c | JwsSignerJwk;
type JwsSignerWithJwk = JwsSigner & {
  jwk: PublicJwk;
};
//#endregion
export { JwsSigner, JwsSignerDid, JwsSignerJwk, JwsSignerWithJwk, JwsSignerX5c };
//# sourceMappingURL=JwsSigner.d.ts.map