Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Swift API for PEM format #453

Merged
merged 3 commits into from
Dec 21, 2023
Merged

Initial Swift API for PEM format #453

merged 3 commits into from
Dec 21, 2023

Conversation

csjones
Copy link
Contributor

@csjones csjones commented Nov 11, 2023

馃搼 Addresses #421

@csjones csjones linked an issue Nov 11, 2023 that may be closed by this pull request
Copy link

what-the-diff bot commented Nov 11, 2023

PR Summary

  • Addition of SwiftLint configurations

A new file .swiftlint.yml was added, which contains rules and settings for how Swift code within our project should be formatted. It also includes a list of files that should be excluded from the SwiftLint checking process.

  • New Files Addition

Several new files have been added to enhance the functionality of our application. These files include functionalities like processing and encoding certificate related data, handling cryptographic operations, converting dates, and returning personalized error messages.

  • Expansion of Private Key and Public Key Functionality

Changes have been made to the Asymmetric.swift file. We now have new ways to generate private and public keys from different data representations in the secp256k1 cryptography algorithm.

  • Enhanced Error Handling

Errors related to the secp256k1 cryptography algorithm are now categorized in the new CryptoKitErrors.swift file, and more classifications of errors have been added to the existing Errors.swift file.

  • Updates to Test Cases

An update was made to the secp256k1Tests.swift file. This has improved a test case allowing it to handle more complex scenarios by validating larger size arrays.

@csjones csjones merged commit 4c77c73 into main Dec 21, 2023
2 checks passed
@csjones csjones deleted the PEM branch December 21, 2023 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃攺 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to create PrivateKey by importing pem private key?
1 participant