packaging / net.corda.packaging / SigningParameters

SigningParameters

class SigningParameters

Parameters for signing a jar file: keyStore the keystore containing the private key keyAlias alias name of the private key inside keyStore password (if any) for the private key inside the keyStore

Constructors

<init>

Parameters for signing a jar file: keyStore the keystore containing the private key keyAlias alias name of the private key inside keyStore password (if any) for the private key inside the keyStore

SigningParameters(keyStore: KeyStore, keyAlias: String, keyPassword: String? = null)

Properties

keyAlias

val keyAlias: String

keyPassword

val keyPassword: String?

keyStore

val keyStore: KeyStore

Companion Object Functions

sign

Signs the jar file in originalFile using the signing parameters contained in params and dumps the signed jar archive to outputStream

fun sign(originalFile: File, outputStream: OutputStream, params: SigningParameters): Unit