SecureBlackbox 2020 PHP Edition

Questions / Feedback?

Sign Method

Signs a buffer.

Object Oriented Interface

public function doSign($buffer, $detached);

Procedural Interface

secureblackbox_publickeycrypto_do_sign($res, $buffer, $detached);

Remarks

Use this method to sign a byte array and get the protected message in another byte array. Set the Detached parameter to false to create an enveloped/enveloping, rather than detached signature.Please note that certain signature algorithms/kinds only support detached signing.

Specify the signing key in Key property before commencing the signing.

Please note that the key assigned must have a private key part.

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