Macro simple_asn1::oid

source ·
macro_rules! oid {
    ( $( $e: expr ),* ) => { ... };
}
Expand description

A handy macro for generating OIDs from a sequence of u64s.

Usage: oid!(1,2,840,113549,1,1,1) creates an OID that matches 1.2.840.113549.1.1.1. (Coincidentally, this is RSA.)