Module Values.SignPayloadRequestSource

Signs a binary payload and returns a signature envelope.

Sourcetype nonrec t = {
  1. profileName : ProfileName.t;
    (*

    The name of the signing profile.

    *)
  2. profileOwner : AccountId.t option;
    (*

    The AWS account ID of the profile owner.

    *)
  3. payload : Payload.t;
    (*

    Specifies the object digest (hash) to sign.

    *)
  4. payloadFormat : String_.t;
    (*

    Payload content type. The single valid type is application/vnd.cncf.notary.payload.v1+json.

    *)
}
Sourceval context_ : string
Sourceval make : ?profileOwner:??? -> profileName:ProfileName.t -> payload:Payload.t -> payloadFormat:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of Payload.t | `String of ProfileName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t