class axl::cry::Pkcs7

#include <axl_cry_Pkcs7.h>

class Pkcs7: public axl::sl::Handle
{
public:
    // construction

    Pkcs7();
    Pkcs7(PKCS7* src);

    // methods

    bool
    create();

    bool
    loadDer(
        const void* p,
        size_t size
        );

    size_t
    saveDer(sl::Array<char>* buffer) const;

    sl::Array<char>
    saveDer() const;

    bool
    loadPem(
        const void* p,
        size_t size
        );

    bool
    loadPem(const sl::StringRef& string);

    size_t
    savePem(sl::String* string) const;

    sl::String
    savePem();

    bool
    verify(
        STACK_OF(X509)* certStack,
        X509_STORE* store,
        BIO* inData,
        BIO* outData,
        int flags = 0
        );
};

Inherited Members

public:
    // typedefs

    typedef T H;

    // methods

    operator T() const;

    T
    operator->() const;

    const Handle&
    operator=(T h);

    bool
    isOpen() const;

    void
    close();

    void
    attach(T h);

    T
    detach();

    T*
    p();

    static
    T
    getInvalidHandle();