Returns the signature bytes of all the data updated. The format of the signature depends on the underlying signature scheme.
A call to this method resets this signature object to the state it was in when previously initialized for signing via a call to initSign(PrivateKey)
. That is, the object is reset and available to generate another signature from the same signer, if desired, via new calls to update
and sign
.
@return the signature bytes of the signing operation's result.
@exception SignatureException if this signature object is notinitialized properly or if this signature algorithm is unable to process the input data provided.