| 
    scclib
    
   Stable Cloud Computing C++ Library 
   | 
 
DER (Distinguished Encoding Rules), is a subset of the binary packaging format ASN.1 commonly applied to cryptography objects. More...

Files | |
| file | der.h | 
| Distinguished encoding rules (DER).  | |
| file | der.cc | 
| Test file for Distinguished encoding rules (DER).  | |
| file | der_cert.cc | 
| Test file for Distinguished encoding rules (DER).  | |
Typedefs | |
| using | scc::crypto::BasePtr = std::shared_ptr< DerBase > | 
| using | scc::crypto::oid_value = std::vector< uint32_t > | 
DER (Distinguished Encoding Rules), is a subset of the binary packaging format ASN.1 commonly applied to cryptography objects.
ASN.1: https://tools.ietf.org/html/rfc6025 X.680 ASN.1 basic rules: https://www.itu.int/rec/T-REC-X.680/en (defines all universal types) DER specification detail X.690: https://www.itu.int/rec/T-REC-X.690-201508-I/en
Technical note for DER format: http://luca.ntop.org/Teaching/Appunti/asn1.html
This contains enough to parse X.509 certificates. X.509 certificates: https://tools.ietf.org/html/rfc5280 Information on algorithms used in certificates: https://tools.ietf.org/html/rfc3279 PKCS exchange syntax: https://tools.ietf.org/html/rfc7292
PEM format is base64 encoded DER format. Certificate encoding using DER and PEM format: https://tools.ietf.org/html/rfc7468
https://tools.ietf.org/html/rfc3447 contains info on rsa private key asn.1 syntax.