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

feature: add ConvertString(...) #39

Merged
merged 1 commit into from
Feb 16, 2023
Merged

Conversation

jimlambrt
Copy link
Owner

ConvertString will convert an ASN1 BER Octet string into a "native" go string. Support ber string encoding types: OctetString, GeneralString and all other types will return an error.

@jimlambrt jimlambrt self-assigned this Feb 16, 2023
Copy link
Owner Author

@jimlambrt jimlambrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

ConvertString will convert an ASN1 BER Octet string into a "native" go
string.  Support ber string encoding types: OctetString, GeneralString
and all other types will return an error.
@jimlambrt jimlambrt force-pushed the jimlambrt-strings-conversion branch from 411c191 to 622ab69 Compare February 16, 2023 19:13
@jimlambrt jimlambrt merged commit 6062ec2 into main Feb 16, 2023
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.

1 participant