Method: OpenSSL::PKCS7#type=

Defined in:
ossl_pkcs7.c

#type=(type) ⇒ Object



442
443
444
445
446
447
448
449
450
451
452
# File 'ossl_pkcs7.c', line 442

static VALUE
ossl_pkcs7_set_type(VALUE self, VALUE type)
{
    PKCS7 *p7;

    GetPKCS7(self, p7);
    if(!PKCS7_set_type(p7, ossl_pkcs7_sym2typeid(type)))
  ossl_raise(ePKCS7Error, NULL);

    return type;
}