All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gems.jruby-openssl-0.7.5.test.ref.pkcs1.c Maven / Gradle / Ivy

The newest version!

#include 

void print_pkcs7(PKCS7* p7) {
    printf(" | asn1     : %s\n", p7->asn1);
    printf(" | len      : %d\n", p7->length);
    printf(" | state    : %d\n", p7->state);
    printf(" | detached : %d\n", p7->detached);
    printf(" | type     : %d\n", OBJ_nid2obj(p7->type));
}

int main(int argc, char** argv) {
    PKCS7* p7;
    p7 = PKCS7_new();

    printf("--before:\n");
    print_pkcs7(p7);

    PKCS7_free(p7);
    return 0;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy