SecureBlackbox 2020 Java Edition

Questions / Feedback?

SignStream Method

Signs a stream.

Syntax

public void signStream(java.io.InputStream sourceStream, java.io.OutputStream destStream, boolean detached);

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 Java Edition - Version 20.0 [Build 8156]