class Expanded : Cpk
<init> |
Expanded(: Path, : Set<Path>, : Path, : Type, : SecureHash, : Manifest, : String, : SecureHash, : Set<Certificate>, : CordappManifest, : NavigableMap<String, SecureHash>, : NavigableSet<Identifier>) |
cpkFile |
val cpkFile: Path |
libraries |
val libraries: Set<Path> |
mainJar |
val mainJar: Path |
copy |
fun copy(: Path = this.mainJar, : Set<Path> = this.libraries, : Path = this.cpkFile, : Type = this.type, : SecureHash = this.cpkHash, : Manifest = this.cpkManifest, : String = this.cordappJarFileName, : SecureHash = this.cordappHash, : Set<Certificate> = this.cordappCertificates, : CordappManifest = this.cordappManifest, : NavigableMap<String, SecureHash> = this.libraryDependencies, : NavigableSet<Identifier> = this.dependencies): Expanded |
from |
Unpacks the CPK resource from inputStream, and parses it as a Cpk.Expanded. The archive is also expanded in expansionLocation. An optional cpkLocation parameter can be provided to improve error reporting (the location will be eventually included in exception messages) Throws PackagingException if a CPK doesn't contain exactly one CorDapp JAR at its root, doesn't contain a manifest, or its dependencies cannot be found or are invalid. If the verifySignature parameter isn't provided, its value is inferred according to the Cpb.DEFAULT_VERIFY_JAR_SIGNATURES_KEY system property fun from(source: InputStream, expansionLocation: Path, cpkLocation: String? = null, verifySignature: Boolean = jarSignatureVerificationEnabledByDefault()): Expanded |