Skip to content

cms::content_info::ContentInfo should implement PemLabel #2352

@richvdh

Description

@richvdh

RFC7468 specifies a PEM encoding of ContentInfo from RFC 5652, with a label of "CMS". Accordingly, it would be helpful if cms::content_info::ContentInfo could implement PemLabel so that it can be used with EncodePem::to_pemand DecodePem::from_pem.

impl der::pem::PemLabel for ContentInfo {
    const PEM_LABEL: &str = "CMS";
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions