Skip to content

Add pem_rfc7468::decode_label - #22

Merged
tarcieri merged 1 commit into
RustCrypto:masterfrom
dwhjames:decode-pem-label
Sep 14, 2021
Merged

Add pem_rfc7468::decode_label#22
tarcieri merged 1 commit into
RustCrypto:masterfrom
dwhjames:decode-pem-label

Conversation

@dwhjames

Copy link
Copy Markdown
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
Copy Markdown
ContributorAuthor

Follow up from discussion: #13 (comment)

@tarcieri
tarcieri merged commit b1c3c0f into RustCrypto:masterSep 14, 2021
@tarcieri

Copy link
Copy Markdown
Member

Cool, seems like that addresses your problem

@dwhjames
dwhjames deleted the decode-pem-label branch September 14, 2021 20:20
@tarcieritarcieri mentioned this pull request Sep 14, 2021
Sign up for freeto 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

@dwhjames@tarcieri