C2paToolProvenanceSigner
OfficeIMO.Provenance.C2pa
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.
Returned or exposed by 1
Constructors
public C2paToolProvenanceSigner(string executablePath, string signerPath) #Creates a production signer that delegates private-key operations to a separate signer process.
Parameters
- executablePath string
- signerPath string
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
Returns
C2paToolProvenanceSignerpublic OfficeProvenanceSigningResult Sign(OfficeProvenanceSigningRequest request, OfficeProvenanceSigningOptions? options = null) #Signs an asset and atomically commits the requested output.
Parameters
- request OfficeIMO.Provenance.OfficeProvenanceSigningRequest
- options OfficeIMO.Provenance.OfficeProvenanceSigningOptions? = null
Returns
OfficeProvenanceSigningResultInherited Methods
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.