Instance Methodswift-crypto 3.8.0_CryptoExtras
blind(_:)
Blind a message to be signed by the server using the blind signing protocol.
RSA+BlindSigning.swift:434func blind(_ message: _RSA.BlindSigning.PreparedMessage) throws -> _RSA.BlindSigning.BlindingResult
Parameters
- message
The message to be signed.
Returns
The blinded message, and its inverse for unblinding its blind signature.
Other members in extension
Instance members
func finalize(_RSA.BlindSigning.BlindSignature, for: _RSA.BlindSigning.PreparedMessage, blindingInverse: _RSA.BlindSigning.BlindingInverse
) throws -> _RSA.Signing.RSASignature Unblinds the message and produce a signature for the message.
func isValidSignature(_RSA.Signing.RSASignature, for: _RSA.BlindSigning.PreparedMessage
) -> Bool Validate a signature for a prepared message.
func prepare<D>(D
) -> _RSA.BlindSigning.PreparedMessage Prepare a message to be signed using the blind signing protocol.