Virgil Security C++ SDK
Public Member Functions | List of all members
virgil::sdk::client::models::RawSignature Class Reference

Represents signature for RawSignedModel. More...

#include <RawSignature.h>

Public Member Functions

 RawSignature (std::string signer, VirgilByteArray signature, VirgilByteArray snapshot=VirgilByteArray())
 Constructor. More...
 
const std::string & signer () const
 Getter. More...
 
const VirgilByteArray & signature () const
 Getter. More...
 
const VirgilByteArray & snapshot () const
 Getter. More...
 

Detailed Description

Represents signature for RawSignedModel.

Constructor & Destructor Documentation

virgil::sdk::client::models::RawSignature::RawSignature ( std::string  signer,
VirgilByteArray  signature,
VirgilByteArray  snapshot = VirgilByteArray() 
)

Constructor.

Parameters
signeridentifier of signer
signaturesignature data
snapshotadditional data
Note
signer must be unique. Reserved values:
  • Self verifier: "self"
  • Virgil Service verifier: "virgil"

Member Function Documentation

const VirgilByteArray& virgil::sdk::client::models::RawSignature::signature ( ) const

Getter.

Returns
signature data
const std::string& virgil::sdk::client::models::RawSignature::signer ( ) const

Getter.

Returns
identifier of signer
const VirgilByteArray& virgil::sdk::client::models::RawSignature::snapshot ( ) const

Getter.

Returns
additional data

The documentation for this class was generated from the following file: