Comments (1)
Understood, I need to first parse them as Octet String, then as UTF strings (or whatever type they are), like that:
s = RASN1::Types::OctetString.parse payload[:payload][7][:value].value
s = RASN1::Types::IA5String.parse s.value
from rasn1.
Related Issues (18)
- Types: drop name argument HOT 5
- Top-level parsing / grammar independent HOT 1
- Model#parse! do not parse content when root element is tagged 'explicit'
- Named integer with explicit tagged type raised on #parse! and #to_der
- Is it possible to have nested model! HOT 1
- Int32/UInt32 support HOT 3
- Unexpected error when content has the same name as the sequence HOT 3
- Crash when calling to_der on a model with a explicit and constructed bit_string
- Feature request - Add support for model(:name, Model, explicit: 1, constructed: true) HOT 24
- Add support for explicit tag for a model sub-element HOT 1
- Redefine RASN1::Types.define_type HOT 1
- Calling to_der gives different result to original input der HOT 3
- Feature request - change name as part of inheritance HOT 2
- Recursive type support HOT 2
- Types::GeneralizedTime should handle its value as a Time
- Feature request: Add tracing support, for debugging purposes
- New ownership confirmation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rasn1.