packaging / net.corda.packaging / Cpk

Cpk

sealed class Cpk

Contains information on a Cpk.

Types

Archived

class Archived : Cpk

Expanded

class Expanded : Cpk

Identifier

Identifies a CPK whose CorDapp JAR has the matching symbolicName and version, and that is signed by the public keys with the hashes signers.

data class Identifier : Comparable<Identifier>

Manifest

data class Manifest

Type

enum class Type : Comparable<Type>

Properties

cordappCertificates

val cordappCertificates: Set<Certificate>

cordappHash

val cordappHash: SecureHash

cordappJarFileName

val cordappJarFileName: String

cordappManifest

val cordappManifest: CordappManifest

cpkHash

val cpkHash: SecureHash

cpkManifest

val cpkManifest: Manifest

dependencies

val dependencies: NavigableSet<Identifier>

id

val id: Identifier

libraryDependencies

val libraryDependencies: NavigableMap<String, SecureHash>

type

val type: Type

Companion Object Properties

fileExtension

const val fileExtension: String

Companion Object Functions

resolveDependencies

fun resolveDependencies(cpks: Iterable<Cpk>, useSignatures: Boolean = jarSignatureVerificationEnabledByDefault()): NavigableSet<Identifier>