Merge pull request #2584 from reaperhulk/asn1-bindings

new asn1 bindings needed for #2582