Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (71)
EC Keys (2095)
Firefox (30)
General (10)
Google Chrome (25)
Intermediate CA (152)
Java VM (29)
JDK Keytool (28)
Microsoft CertUtil (29)
Microsoft Edge (9)
Mozilla CertUtil (21)
OpenSSL (236)
Other (7)
Portecle (38)
Publishers (6022)
Revoked Certificates (16)
Root CA (85)
RSA Keys (4917)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
ASN.1 Field Types Supported by OpenSSL
What are ASN.1 field types supported by the OpenSSL "ans1parse" command?
✍: FYIcenter.com
OpenSSL "ans1parse" command supports the following ASN.1 field types:
BOOLEAN, BOOL - This encodes a boolean type. The value string is mandatory and should be TRUE or FALSE. Additionally TRUE, true, Y, y, YES, yes, FALSE, false, N, n, NO and no are acceptable.
NULL - Encode the NULL type, the value string must not be present.
INTEGER, INT - Encodes an ASN1 INTEGER type. The value string represents the value of the integer, it can be prefaced by a minus sign and is normally interpreted as a decimal value unless the prefix 0x is included.
ENUMERATED, ENUM - Encodes the ASN1 ENUMERATED type, it is otherwise identical to INTEGER.
OBJECT, OID - Encodes an ASN1 OBJECT IDENTIFIER, the value string can be a short name, a long name or numerical format.
UTCTIME, UTC - Encodes an ASN1 UTCTime structure, the value should be in the format YYMMDDHHMMSSZ.
GENERALIZEDTIME, GENTIME - Encodes an ASN1 GeneralizedTime structure, the value should be in the format YYYYMMDDHHMMSSZ.
OCTETSTRING, OCT - Encodes an ASN1 OCTET STRING. value represents the contents of this structure, the format strings ASCII and HEX can be used to specify the format of value.
BITSTRING, BITSTR - Encodes an ASN1 BIT STRING. value represents the contents of this structure, the format strings ASCII, HEX and BITLIST can be used to specify the format of value. If the format is anything other than BITLIST the number of unused bits is set to zero.
UNIVERSALSTRING, UNIV, IA5, IA5STRING, UTF8, UTF8STRING, BMP, BMPSTRING, VISIBLESTRING, VISIBLE, PRINTABLESTRING, PRINTABLE, T61, T61STRING, TELETEXSTRING, GeneralString, NUMERICSTRING, NUMERIC - These encode the corresponding string types. value represents the contents of this structure. The format can be ASCII or UTF8.
SEQUENCE, SEQ, SET - Formats the result as an ASN1 SEQUENCE or SET type. value should be a section name which will contain the contents. The field names in the section are ignored and the values are in the generated string format. If value is absent then an empty SEQUENCE will be encoded.
⇒ OpenSSL "ans1parse -genstr" - Single Primitive Field DER File
2016-10-15, 7628👍, 0💬
Popular Posts:
Certificate summary - Owner: Entrust Root Certification Authority, "(c) 2006 Entrust, Inc.", www.ent...
How to create a test certificate for myself using the "makecert.exe" command? You can create a test ...
How to use the "keytool -gencert" command? I received a CSR (Certificate Signing Request) file and w...
Where to click to get more Web site information in Firefox 8? I want to know if the page I am readin...
Certificate Summary: Subject: Certum Trusted Network CA Issuer: Certum Trusted Network CA Expiration...