Skip to content

app/integration/ED25519ProviderFactory.hpp

More...

Namespaces

Name
sgns

Classes

Name
class sgns::ED25519ProviderFactory

Detailed Description

Date: 2024-03-04 Henrique A. Klein ([email protected])

Source code

#ifndef _ED25519_PROVIDER_FACTORY_HPP_
#define _ED25519_PROVIDER_FACTORY_HPP_

#include "crypto/ed25519/ed25519_provider_impl.hpp"

namespace sgns
{

    class ED25519ProviderFactory
    {
    public:
        std::shared_ptr<crypto::ED25519Provider> create()
        {
            return std::make_shared<crypto::ED25519ProviderImpl>();
        }
    };
}

#endif

Updated on 2026-03-04 at 13:10:44 -0800