Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

C2paToolProvenanceSigner

OfficeIMO.Provenance.C2pa

Namespace
OfficeIMO.Provenance.C2pa
Assembly
OfficeIMO.Provenance.C2pa
Source revision
ba882f6b0d07 with working tree changes
Implements
IOfficeProvenanceSigner
Modifiers
sealed

Creates C2PA Content Credentials through the official c2patool command-line application. Version 0.27.0 or newer, plus a production signer process, are supplied by the host and are not bundled.

Inheritance

  • object
  • C2paToolProvenanceSigner

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public C2paToolProvenanceSigner(string executablePath, string signerPath) #

Creates a production signer that delegates private-key operations to a separate signer process.

Parameters

executablePath string required
signerPath string required

Methods

public static C2paToolProvenanceSigner CreateWithBuiltInTestCredentials(string executablePath) #

Creates a development-only signer that uses c2patool's public test credentials. Outputs created by this signer must not be represented as production credentials.

Parameters

executablePath string required
public OfficeProvenanceSigningResult Sign(OfficeProvenanceSigningRequest request, OfficeProvenanceSigningOptions? options = null) #

Signs an asset and atomically commits the requested output.

Parameters

request OfficeIMO.Provenance.OfficeProvenanceSigningRequest required
options OfficeIMO.Provenance.OfficeProvenanceSigningOptions? = null optional

Returns

OfficeProvenanceSigningResult

Properties

public string ExecutablePath { get; } #

Gets the executable path or command name used for signing.

public string? SignerPath { get; } #

Gets the external signer process path or command name used for production key operations.

public bool UsesBuiltInTestCredentials { get; } #

Gets whether c2patool's public development credentials are used.

public string Name { get; } #

Gets the signing provider name.