Questions tagged [asn.1]

ASN.1 stands for Abstract Syntax Notation One. It is a data specification language and a set of encoding rules for serializing the data.

ASN.1 stands for Abstract Syntax Notation One. It is part of the Presentation Layer of the OSI model.

ASN.1 specs covers two main roles:

  1. Specifies a notation to define data types and data values.
  2. Specifies different ways of encoding and decoding data values according to the syntax specifications.

Specifications

ASN.1 is an joint ISO/ITU-T standard. The documents covering the specs are:

771 questions
-1
votes
1 answer

ASN 1 : before or after signature?

Assume that there is a specific ASN 1 representation for a specific message in a standard. But the question is that we have to first sign this message and then do encoding according ASN 1 or we have to first convert to ASN 1 and then sign it? Thank…
Questioner
  • 662
  • 1
  • 10
  • 26
-1
votes
1 answer

add ASN.1 generated class to C project

I generated some C classes from an ASN.1 description with this compiler lionet.info/asn1c . When I trie to compile the code with GCC I have errors, this is a peice of them in file included from asn_application.h:45, from…
user567
  • 3,712
  • 9
  • 47
  • 80
-1
votes
4 answers

ASN.1 reading material

Is there any place where i could get some materials to know about ASN.1. I want to know about the syntax's to be used and also some examples to get some overview. Any help is appreciated.
Vijay
  • 65,327
  • 90
  • 227
  • 319
-2
votes
1 answer

Decimal to uint8_t array

uint8_t certificateSerialNumber[] = {0x02, 0x04, 0x24,0xA8,0x16,0x34}; The decimal 614995508 (actual serial number)is converted to hexadecimal 24A81634. The above unit8 array is the representation on TLV(tag length value) triplet of serial…
-2
votes
2 answers

Is it possible to Develop ASN.1 protocol in Embedded c for 32-bit microcontroller (without OS)?

Is it possible to Develop ASN.1 protocol in Embedded c for 32-bit microcontroller (without OS) ? I am using ARM micro(32-bit) and cubesuite compiler.
maasi
  • 21
-3
votes
1 answer

The der_encode_to_buffer returns an error 0. What exactly is error 0?

MyTest DEFINITIONS ::= BEGIN Client ::= CHOICE { clientInt INTEGER, clientStr OCTET STRING, clientOID OBJECT IDENTIFIER } END Client_t *newClient; //new client struct newClient = calloc(1, sizeof(Client_t)); …
LeonF
  • 423
  • 6
  • 14
1 2 3
51
52