StormByte-Crypto 2.0.0
C++26 cryptography module of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Crypto::Signer Namespace Reference

Signers of the Crypto module. More...

Classes

class  DSA
 DSA signer. More...
 
class  ECDSA
 ECDSA signer. More...
 
class  ED25519
 Ed25519 signer. More...
 
class  Exception
 Exception from the signer component. More...
 
class  Generic
 Abstract signer. More...
 
class  RSA
 RSA signer. More...
 

Enumerations

enum class  Type { DSA , ECDSA , ED25519 , RSA }
 Available signer algorithms. More...
 

Functions

Generic::PointerType Create (enum Type type, KeyPair::Generic::PointerType keypair) noexcept
 Create a signer from a keypair pointer.
 
Generic::PointerType Create (enum Type type, const KeyPair::Generic &keypair) noexcept
 Create a signer by cloning a keypair.
 
Generic::PointerType Create (enum Type type, KeyPair::Generic &&keypair) noexcept
 Create a signer by moving a keypair.
 

Detailed Description

Signers of the Crypto module.

Digital signatures of the Crypto module.

Enumeration Type Documentation

◆ Type

Available signer algorithms.

Enumerator
DSA 

DSA.

ECDSA 

ECDSA.

ED25519 

Ed25519.

RSA 

RSA.

Function Documentation

◆ Create() [1/3]

Generic::PointerType StormByte::Crypto::Signer::Create ( enum Type  type,
const KeyPair::Generic &  keypair 
)
noexcept

Create a signer by cloning a keypair.

Parameters
typeAlgorithm.
keypairKeypair.
Returns
Signer pointer.

◆ Create() [2/3]

Generic::PointerType StormByte::Crypto::Signer::Create ( enum Type  type,
KeyPair::Generic &&  keypair 
)
noexcept

Create a signer by moving a keypair.

Parameters
typeAlgorithm.
keypairKeypair.
Returns
Signer pointer.

◆ Create() [3/3]

Generic::PointerType StormByte::Crypto::Signer::Create ( enum Type  type,
KeyPair::Generic::PointerType  keypair 
)
noexcept

Create a signer from a keypair pointer.

Parameters
typeAlgorithm.
keypairKeypair.
Returns
Signer pointer.