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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pem_rfc7468::decode_label #22

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

dwhjames
Copy link
Contributor

Decode the encapsulation boundaries of a PEM document, returning the label.

The motivation is to capture the document label in the case of an error
(by repeating the decoding only to extract the label)

Decode the encapsulation boundaries of a PEM document, returning the label.

The motivation is to capture the document label in the case of an error
(by repeating the decoding only to extract the label)
@dwhjames
Copy link
Contributor Author

Follow up from discussion: #13 (comment)

@tarcieri tarcieri merged commit b1c3c0f into RustCrypto:master Sep 14, 2021
@tarcieri
Copy link
Member

Cool, seems like that addresses your problem

@dwhjames dwhjames deleted the decode-pem-label branch September 14, 2021 20:20
@tarcieri tarcieri mentioned this pull request Sep 14, 2021
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.

None yet

2 participants