Skip to content

Create dedicated type for BitString #23

Description

@Samuel-Tyler

Currently BitString uses the generic StringImpl for its implementation. Instead, a specific type for BitString should be created. This should be construct-able from binary data, and also a range of bools (including std::vector). Conversion to std::vector should be provided.

This will allow the BitString to be constructed from an ASN.1 value in the syntax { 1, 0, 1, ... }.

Acceptance

  • Functions in the BitString type are populated
  • Test cases are added to test/ber_types/BitString.cpp
  • BitString is added to test/ber_types/AllTest.cpp
  • BitString is added to benchmarks/ComponentPerformance.cpp
  • BitString is convertable to / from std::vector

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions