Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DOC and version Kiev

...

Parameter

Type

In/Out

Description

sessioncontext

SESSION_HANDLE*

out

Session context

keylocation

const char*

in

Full path to merchant bid file.

password

const char*

in

Password for the merchant bid file

configlocation

const char*

in

Path to configuration file that holds the properties for the merchant session. If this parameter is NULL, then webaddress, trustedstore and grantedpolicies must be set (not NULL).

webaddress

const char*

in

See section 4 Configuration of BankID C Server

ignored

const char*

in

Reserved.

trustedstore

const char*

in

See section 4 Configuration of BankID C Server

grantedpolicies

const char*

in

See section 4 Configuration of BankID C Server

proxyserver

const char*

in

See section 4 Configuration of BankID C Server (optional)

proxyport

const char*

in

See section 4 Configuration of BankID C Server (optional)

BID_HSMOpenSession

...

Parameter

Type

In/Out

Description

sessioncontext

SESSION_HANDLE*

out

Session context

keylocation

const char*

in

Full path to merchant bid file.

password

const char*

in

Password for the merchant bid file

configlocation

const char*

in

Path to configuration file that holds the properties for the merchant session. If this parameter is NULL, then webaddress, trustedstore, grantedpolicies and pkcs11password must be set (not NULL).

webaddress

const char*

in

See section 4 Configuration of BankID C Server

ignored

const char*

in

Reserved

trustedstore

const char*

in

See section 4 Configuration of BankID C Server

grantedpolicies

const char*

in

See section 4 Configuration of BankID C Server

proxyserver

const char*

in

See section 4 Configuration of BankID C Server (optional)

proxyport

const char*

in

See section 4 Configuration of BankID C Server (optional)

pkcs11password

const char*

In

Password for the HSM.

slot

const int

in

The HSM slot to use.

...

The infoitem 'cmsFormat' can be set in advance to change the format of the resulting PKCS7 as explained in BID_InitTransaction.

Parameter

Type

In/Out

Description

sessioncontext

SESSION_HANDLE

in

Session context

data

const char*

in

The data to be signed

datalen

const char*

in

Length of the data to be signed

pkcs7char **outThe signature (PKCS7)

BID_GetOwnCertStatus

Syntax

...

The infoitem 'ocspFormat' can be set in advance to change the format of the resulting OCSP Response as explained in BID_InitTransaction.

Parameter

Type

In/Out

Description

sessioncontext

SESSION_HANDLE

in

Session context

ocspresponsechar **outThe OCSP response for the merchant signing certificate