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

ASN.1 TaggedValue make properties public #79

Open
davidscheutz opened this issue Jan 13, 2025 · 0 comments
Open

ASN.1 TaggedValue make properties public #79

davidscheutz opened this issue Jan 13, 2025 · 0 comments

Comments

@davidscheutz
Copy link

Currently the properties tag and data of the TaggedValue type aren't accessible.

Proposed change:

// Tagged.swift
public struct TaggedValue: Codable, Equatable, Hashable {
-   var tag: UInt8
+  public var tag: UInt8
-   var data: Data
+  public var data: Data

  public init(tag: UInt8, data: Data) {
    self.tag = tag
    self.data = data
  }
}

I made these changes myself when I realized I don't have permission to push the branch... would appreciate if someone could take care of that or add me as a collaborator 🙌

@davidscheutz davidscheutz changed the title ASN.1 TaggedValue make Properties Public ASN.1 TaggedValue make properties public Jan 13, 2025
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

No branches or pull requests

1 participant