i2d_ASN1_SEQUENCE_ANY
derlen = i2d_ASN1_SEQUENCE_ANY(sk, &der);
int i2d_ASN1_SEQUENCE_ANY(const ASN1_SEQUENCE_ANY *a, unsigned char **out);