asn.1 Questions

5

Solved

Is there a free package for reading, manipulating and writing ASN.1 in Java? It must be: Free Lightweight Self-contained (without external dependencies on, e.g. Apache commons) Java 5 (not...
Arawak asked 1/5, 2009 at 20:22

2

Solved

I have generated an ECDSA signature in Java and I would like to get the R and S values from it. It is my understanding that the signature I have generated is DER encoded. Can someone please provide...
Monkish asked 8/9, 2016 at 8:8

3

Solved

I am trying to understand how IMPLICIT and EXPLICIT tags are actually encoded in the DER binary form. The basic examples are clear. Plain integer, x INTEGER ::= 5 is encoded as a TLV triple 02 01 ...
Tuggle asked 21/9, 2020 at 18:10

13

Solved

How can I create a PEM file from an SSL certificate? These are the files that I have available: .crt server.csr server.key
Smithson asked 13/6, 2009 at 23:23

3

Solved

I have tried using the solution provided in this link. I am getting following error when i tried reading subject alternative names of X.509 Certificate java.lang.NoSuchMethodError: org.bouncycastl...
Madder asked 23/6, 2015 at 4:28

3

Solved

I'm trying to figure out which "safe" ECC curves are supported in Bouncy Castle. I found a few curves in the namespace Org.BouncyCastle.Asn1, but they are hard to find, and I'm sure I'm missing som...
Mercier asked 17/3, 2014 at 14:57

5

This is my first question so please bear with me, I'm trying to find a good compiler to parse the following standard, I've tried asn1c and I wasn't able compile it successfully, the problem is that...
Given asked 25/2, 2013 at 23:13

2

Solved

I have a MIB that I started working on but smilint complains about a missing conformance group. How do I add this conformance group to my file? BLEH-PRODUCT-MIB DEFINITIONS ::= BEGIN -- Objects i...
Walleyed asked 29/5, 2013 at 20:53

1

Since June 2020 .net has a an ASN1 reader implemented. In the documentation there is no example how to use it. Also a search at Google and in SO doesn't show any examples or descriptions. Where can...
Shaunna asked 3/12, 2021 at 16:5

3

Solved

According to the X.509, a certificate has an attribute subject. C=US, ST=Maryland, L=Pasadena, O=Brent Baccala, OU=FreeSoft, CN=www.freesoft.org/[email protected] This is the typical subject...
Evelinevelina asked 24/6, 2011 at 6:13

0

I generated RSA keys and my backend sends 3 parameters in BASE64 (except signatureAlgorithm) for creating CSR to me: "subject" : "MIGfMQswCQYDVQQGEwJJUjEvMC0GA1UEAwwmMTAwMDAwMzg1MDA3...
Anthropography asked 29/11, 2021 at 8:22

3

Solved

In the common name field of the DN of a X509 certificate, as defined in ASN.1 notation for OID "2.5.4.3", the limit is up to 64 characters. Is there any turnaround if we want to have a common name ...
Resect asked 19/8, 2016 at 9:27

4

Using the BouncyCastle library (although I guess the library is sort of irrelevant) I often run into algorithm IDs specified as ASN.1 identifiers. For example, the signature algorithm for a certifi...
Ecto asked 19/9, 2017 at 3:16

3

Solved

When is using ASN.1 preferable to using JSON? What are some advantages and disadvantages of both approaches?
Kazantzakis asked 29/6, 2012 at 13:36

7

Solved

How can I convert ASN1_TIME to time_t format? I wanted to convert the return value of X509_get_notAfter() to seconds.
Commune asked 11/6, 2012 at 6:49

4

Solved

What are the most noticable differences between Google Protocol Buffers and ASN.1 (with PER-encoding)? For my project the most imporant issue is the size of the serialized data. Has anyone done any...
Rome asked 27/2, 2009 at 15:43

1

I'm trying to create a PublicKey instance using an Oid and RSA public Key but I'm getting a CryptographyException with "ASN1 bad tag value met". I'm following the answer found here to eventually cr...
Tarpan asked 19/11, 2019 at 18:46

4

Solved

I'm decoding ASN1 (as used in X.509 for HTTPS certificates). I'm doing pretty well, but there is a thing that I just cannot find and understandable documentation for. In this JS ASN1 parser you se...
Bluebird asked 23/2, 2013 at 0:7

3

I have been going through the following tutorial http://www.obj-sys.com/asn1tutorial/node12.html Can you help me understand implicit tagging with an example?
Cornwallis asked 21/7, 2010 at 6:26

3

There are several tools that can automatically generate C++ (or other) code for reading and writing BER encoded files. In my C++ project, I need libraries to read and modify BER encoded files. I ca...
Rillings asked 17/1, 2013 at 13:56

5

Solved

Is there any table where we can find all correspondences between OIDs and attributes they represent in the subject field of certificate. For example, I know that "1.3.6.1.4.1.311.20.2" means certif...
Wroughtup asked 24/6, 2011 at 8:48

4

Solved

I am having trouble understanding the basic concepts of ASN.1. If a type is an OID, does the corresponding number get actually encoded in the binary data? For instance in this definition: id-ad-...
Hypno asked 8/5, 2011 at 17:29

2

Solved

I have some data that pyOpenSSL gave me, '0\r\x82\x0bexample.com'. This should be the value of a subjectAltName X509 extension. I tried to encode the necessary parts of the ASN1 specification for t...
Secular asked 1/4, 2011 at 23:36

2

I'm looking for any C/C++ tutorial, sample code or documentation about using OpenSSL library for ASN.1 DER encoding.
Ruttish asked 20/6, 2012 at 11:24

3

Solved

I'm currently trying to create an RSACryptoServiceProvider object solely from a decoded PEM file. After several days of searching, I did manage to wrangle a working solution but it's not one that w...
Concelebrate asked 23/1, 2017 at 13:59

© 2022 - 2024 — McMap. All rights reserved.