Collections:
Other Resources:
OpenSSL "ans1parse -genstr" - Single Primitive Field DER File
How to generate a DER file with a single data field using the OpenSSL "ans1parse" command?
✍: FYIcenter.com
You can use the OpenSSL "ans1parse -genstr" command to generate a DER file with a single
data field. You just need to specify the field type and field value separated by ":".
Here are some examples of using "ans1parse -genstr" command:
C:\Users\fyicenter>\local\openssl\openssl.exe OpenSSL> asn1parse -genstr "INTEGER:255" -noout -out integer.der OpenSSL> asn1parse -genstr "IA5STRING:Hello World!" -noout -out ascii.der OpenSSL> asn1parse -genstr "UTF8:Hello World!" -noout -out utf8.der OpenSSL> asn1parse -genstr "GENERALIZEDTIME:20161231235959Z" -noout -out time.der OpenSSL> asn1parse -genstr "NUMERIC:3.14159" -noout -out numeric.der OpenSSL> exit; C:\Users\fyicenter>type integer.der ☻☻ C:\Users\fyicenter>type ascii.der ▬♀Hello World! C:\Users\fyicenter>type utf8.der ♀♀Hello World! C:\Users\fyicenter>type time.der ↑☼20161231235959Z C:\Users\fyicenter>type numeric.der ↕3.14159
By the way, the "-genstr" option does not support SEQUENCE field type. You have to use the "-genconf" option to generate SEQUENCE ASN.1 structure.
⇒ OpenSSL "ans1parse -in" - Parse DER File
2016-10-15, 8433🔥, 0💬
Popular Posts:
Certificate Summary: Subject: T-TeleSec GlobalRoot Class 3 Issuer: T-TeleSec GlobalRoot Class 3 Expi...
Certificate summary - Owner: VeriSign Class 3 Public Primary Certification Authority - G5, "(c) 2006...
Certificate Summary: Subject: AME INFRA CA 01 Issuer: ameroot Expiration: 2025-09-15 03:15:08 UTC Ke...
Certificate summary - Owner: www.lenovo.com, Lenovo.com, Lenovo, L=Morrisville, ST=North Carolina, U...
How to sign a CSR with my CA certificate and private key using OpenSSL "ca" command? I think my conf...