isValidSignature(_:for:)

    Verifies an elliptic curve digital signature algorithm (ECDSA) signature on a block of data over the P-521 elliptic curve.

    ECDSA.swift:519
    func isValidSignature<D>(_ signature: P521.Signing.ECDSASignature, for data: D) -> Bool where D : DataProtocol

    Parameters

    signature

    The signature to verify.

    data

    The signed data.

    Returns

    A Boolean value that’s true if the signature is valid for the given data; otherwise, false.

    Other members in extension

    Type members

    Instance members