Tag: asn.1
All the articles with the tag "asn.1".
File Encryption with RSA in OpenSSL
Breaking down RSA keys in OpenSSL at the byte level: generating a key pair, parsing the ASN.1 structure of private and public keys, then encrypting and decrypting a file with pkeyutl.
Creating a Digital Signature with RSA in OpenSSL
Creating an RSA digital signature in OpenSSL step by step: hashing a file with SHA-256, signing with the private key, verifying with the public key, and inspecting the recovered DigestInfo ASN.1 structure.