Skip to content

Commit

Permalink
Fixing SHA512 in comment (#196)
Browse files Browse the repository at this point in the history
Co-authored-by: Franz Busch <[email protected]>
  • Loading branch information
maschall and FranzBusch authored Sep 11, 2024
1 parent b1bef48 commit abe0f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/X509/SignatureAlgorithm.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ extension Certificate {
/// This value represents an RSA signature with PKCS1v1.5 padding and SHA384 as the hash function.
public static let sha384WithRSAEncryption = Self(algorithmIdentifier: .sha384WithRSAEncryption)

/// This value represents an RSA signature with PKCS1v1.5 padding and SHA521 as the hash function.
/// This value represents an RSA signature with PKCS1v1.5 padding and SHA512 as the hash function.
public static let sha512WithRSAEncryption = Self(algorithmIdentifier: .sha512WithRSAEncryption)

/// Whether this algorithm represents an ECDSA signature.
Expand Down

0 comments on commit abe0f0b

Please sign in to comment.