packaging / net.corda.packaging / Cpb / Expanded / from

from

@JvmStatic @JvmOverloads fun from(inputStream: InputStream, expansionLocation: Path?, cpbLocation: String? = null, verifySignature: Boolean = jarSignatureVerificationEnabledByDefault()): Expanded

Create an Cpb.Expanded instance reading the file the from inputStream, the CPK will also be extracted in expansionLocation if that is non-null, otherwise a temporary directory wil be created for purpose of extracting the Cpb content