Instance Methodswift-crypto 3.8.0_CryptoExtras
isValidSignature(_:for:)
Validate a signature for a prepared message.
RSA+BlindSigning.swift:461func isValidSignature(_ signature: _RSA.Signing.RSASignature, for message: _RSA.BlindSigning.PreparedMessage) -> Bool
Parameters
Returns
True if the signature is valid; false otherwise.
Other members in extension
Instance members
func blind(_RSA.BlindSigning.PreparedMessage
) throws -> _RSA.BlindSigning.BlindingResult Blind a message to be signed by the server using the blind signing protocol.
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 prepare<D>(D
) -> _RSA.BlindSigning.PreparedMessage Prepare a message to be signed using the blind signing protocol.