capi

Name

netid.exe -capi - manage certificate registration to CryptoAPI MY store

Synopsis

netid.exe  -capi [dump] [dump validate]
    [move] [move -mode-store XXX -read-certificate YYY]
    [remove] [remove -mode-store XXX -read-certificate YYY]
    [sign -file <path> -thumbprint <thumbprint>]
    [sign -file <path> -thumbprint <thumbprint> -sha256]

Description

Microsoft CryptoAPI is fundamental for the Windows platform, and there are some utility commands available to control/view the registration of certificates to CryptoAPI MY store.

Options

dump

dump

Write all certificates in CryptoAPI MY store to trace, with register information.

dump validate

Dump all certificates in CryptoAPI MY store to trace, with register information, and validate that the content is correct.

move

move

Register all certificates to CryptoAPI MY store. Will use current configuration to register.

move -mode-store XXX -read-certificate YYY

Register all certificates to CryptoAPI MY store.

remove

remove

Unregister all certificates to CryptoAPI MY store. Will use current configuration to register. Only certificates that have been registered will be removed.

remove -mode-store XXX -read-certificate YYY

Unregister all certificates to CryptoAPI MY store. Only certificates that have been registered will be removed.

sign

sign -file <path> -thumbprint <thumbprint>

Sign the content of a file using CryptoAPI high-level functions. This is used to test that the basic functionality is working as expected.

sign -file <path> -thumbprint <thumbprint> -sha256

Sign the content of a file using CryptoAPI high-level functions, but require sha-256 algorithm is used instead of default. This is used to test that the basic functionality is working as expected.