We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, exporting the generated Key object in PEM format supports the least fields by default.
func
For the future usage (such as ECDH support, #37), PEM key may require additional fields. Context or protocol versions for example.
- func (k *Key) PEM() (string, error) + func (k *Key) PEM[T string|int](optField ...[string]T) (string, error)
The text was updated successfully, but these errors were encountered:
We need to be careful implementing this.
Including custom fields (headers) to PEM is easy, but reading the PEM file and generate a new Key object will not include those customized fields.
Sorry, something went wrong.
No branches or pull requests
Currently, exporting the generated Key object in PEM format supports the least fields by default.
func
(k *Key) PEM() (string, error)For the future usage (such as ECDH support, #37), PEM key may require additional fields. Context or protocol versions for example.
The text was updated successfully, but these errors were encountered: