corda / com.r3.corda.networkmanage.common.cryptoservice.cloudhsm / AmazonCloudHsmCryptoServiceTest

AmazonCloudHsmCryptoServiceTest

class AmazonCloudHsmCryptoServiceTest : CryptoServiceSpec<CloudHsmPasswordCredentials, AmazonCloudHsmKeyConfig>

Constructors

<init>

AmazonCloudHsmCryptoServiceTest()

Inherited Properties

loggingContextRule

val loggingContextRule: <ERROR CLASS>

Functions

createKeyConfig

fun createKeyConfig(alias: String): AmazonCloudHsmKeyConfig

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<CloudHsmPasswordCredentials, AmazonCloudHsmKeyConfig>

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