SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

SignStream Method

Signs a stream.

Syntax

public fun signStream(sourceStream: InputStream?, destStream: OutputStream?, detached: Boolean)

Remarks

Use this method to sign a stream and save the protected message to another stream.

Specify the signing key in Key property before commencing the signing. Note that the signing key must come with its private key.

Set Detached parameter to false to produce enveloped/enveloping, and not detached signature. Many encryption algorithms/modes do not support non-detached signatures.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Kotlin Edition - Version 20.0 [Build 8063]