class axl::cry::X509Cert

#include <axl_cry_X509.h>

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

    X509Cert();
    X509Cert(X509* cert);

    // 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() const;
};

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();