corda / com.r3.corda.networkmanage.common.cryptoservice.securosys / SecurosysPrimusXCryptoServiceTest

SecurosysPrimusXCryptoServiceTest

class SecurosysPrimusXCryptoServiceTest : CryptoServiceSpec<SecurosysAuthenticationCredentials, SecurosysKeyConfig>

This test can be run against the cloud HSM provided by Securosys. It has the @Ignore annotation by default as the placeholder values have to be filled out in order to run it (see wiki page for credentials).

Constructors

<init>

SecurosysPrimusXCryptoServiceTest()

This test can be run against the cloud HSM provided by Securosys. It has the @Ignore annotation by default as the placeholder values have to be filled out in order to run it (see wiki page for credentials).

Inherited Properties

loggingContextRule

val loggingContextRule: <ERROR CLASS>

Functions

createKeyConfig

fun createKeyConfig(alias: String): SecurosysKeyConfig

Method used to create a basic key config for a given alias.

delete

fun delete(alias: String): Unit

Method used to delete any keys created during the tests.

getCryptoService

fun getCryptoService(): CryptoService<SecurosysAuthenticationCredentials, SecurosysKeyConfig>

Method used to retrieve the CryptoService that will be tested.

Inherited Functions

Content signer works with HsmX509Utilities

fun Content signer works with HsmX509Utilities(): Unit

Generate key, then sign and verify data

fun Generate key, then sign and verify data(): Unit

When key does not exist, getContentSigner should throw

fun When key does not exist, getContentSigner should throw(): Unit

When key does not exist, signing should throw

fun When key does not exist, signing should throw(): Unit

generateRandomKeyAlias

open fun generateRandomKeyAlias(): String