Skip to content

Allow loading PEM credentials from memory#284

Open
thomas-fossati wants to merge 1 commit intoh2o:masterfrom
thomas-fossati:master
Open

Allow loading PEM credentials from memory#284
thomas-fossati wants to merge 1 commit intoh2o:masterfrom
thomas-fossati:master

Conversation

@thomas-fossati
Copy link

Extend pembase64 with two new interfaces:

  • ptls_load_certificates_from_memory
  • ptls_minicrypto_load_private_key_from_memory
    to allow loading keys and certs from PEM-encoded strings.

See t/minicrypto.c::test_credentials_from_memory() for a working example.

Extend pembase64 with two new interfaces:
- ptls_load_certificates_from_memory
- ptls_minicrypto_load_private_key_from_memory
to allow loading keys and certs from PEM-encoded strings.

See t/minicrypto.c::test_credentials_from_memory() for working example.
@richard-ramos
Copy link

Would it be possible to get this PR merged?
It contains really useful functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants