corda.crypto heading-link-icon

Configuration schema for the crypto library subsection.

  • caching - Caching settings
    • expireAfterAccessMins - Expiration time in minutes for cached key metadata
      • default
        Default value: 10000
    • maximumSize - Maximum number of cached key metadata
      • default
        Default value: 60
  • hsm - Settings and capabilities for the HSM
    • defaultWrappingKey - The default wrapping key, which must be in the wrappingKeys array.
    • retrying - Retry settings for the HSM
      • attemptTimeoutMills - Wait period in milliseconds between attempts, should be reasonably large as some operations may be long, e.g. RSA key generation by the SOFT HSM may take a few seconds
        Default value: 20000
      • maxAttempts - Maximum number of attempts
        Default value: 3
    • wrappingKeys - Key derivation parameters for wrapping keys supplied in config
      • algorithm - Key derivation function and wrapping key algorithm selection
        Default value: PBKDF2WithHmacSHA256
      • alias - The alias for the wrapping key.
      • passphrase - Passphrase for the key derivation function
      • salt - Salt for the key derivation function
  • retrying - Retry settings
    • maxAttempts - Maximum attempts to process a message
      • default
        Default value: 3
    • waitBetweenMills - Time between attempts in milliseconds, if the number of values is less than attempts then the last item is repeated
      • default
        Default value: 200

Was this page helpful?

Thanks for your feedback!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.

We're sorry this page wasn't helpful. Let us know how we can make it better!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Create an issue

Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.