Skip to content

Commit 85f953b

Browse files
committed
Tweak verifySignatureUtf8 signature
"Utf8" was capitalized.
1 parent 7fed4e6 commit 85f953b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ATCryptography/SignatureVerifier.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public struct SignatureVerifier {
5252
/// - Returns: `true` if the signature is valid, otherwise `false`.
5353
///
5454
/// - Throws: An error if decoding fails or signature verification fails.
55-
public static func verifySignatureUtf8(didKey: String, data: String, signature: String, options: VerifyOptions? = nil) async throws -> Bool {
55+
public static func verifySignatureUTF8(didKey: String, data: String, signature: String, options: VerifyOptions? = nil) async throws -> Bool {
5656
guard let dataBytes = data.data(using: .utf8)?.map({ $0 }) else {
5757
throw SignatureVerificationError.invalidEncoding(reason: "Invalid UTF-8 string")
5858
}

0 commit comments

Comments
 (0)