rippled
Public Member Functions | Public Attributes | List of all members
ripple::Manifest Struct Reference
Collaboration diagram for ripple::Manifest:
Collaboration graph
[legend]

Public Member Functions

 Manifest ()=default
 
 Manifest (Manifest const &other)=delete
 
Manifestoperator= (Manifest const &other)=delete
 
 Manifest (Manifest &&other)=default
 
Manifestoperator= (Manifest &&other)=default
 
bool verify () const
 Returns true if manifest signature is valid. More...
 
uint256 hash () const
 Returns hash of serialized manifest data. More...
 
bool revoked () const
 Returns true if manifest revokes master key. More...
 
std::optional< BlobgetSignature () const
 Returns manifest signature. More...
 
Blob getMasterSignature () const
 Returns manifest master key signature. More...
 

Public Attributes

std::string serialized
 The manifest in serialized form. More...
 
PublicKey masterKey
 The master key associated with this manifest. More...
 
PublicKey signingKey
 The ephemeral key associated with this manifest. More...
 
std::uint32_t sequence = 0
 The sequence number of this manifest. More...
 
std::string domain
 The domain, if one was specified in the manifest; empty otherwise. More...
 

Detailed Description

Definition at line 80 of file Manifest.h.

Constructor & Destructor Documentation

◆ Manifest() [1/3]

ripple::Manifest::Manifest ( )
default

◆ Manifest() [2/3]

ripple::Manifest::Manifest ( Manifest const &  other)
delete

◆ Manifest() [3/3]

ripple::Manifest::Manifest ( Manifest &&  other)
default

Member Function Documentation

◆ operator=() [1/2]

Manifest& ripple::Manifest::operator= ( Manifest const &  other)
delete

◆ operator=() [2/2]

Manifest& ripple::Manifest::operator= ( Manifest &&  other)
default

◆ verify()

bool ripple::Manifest::verify ( ) const

Returns true if manifest signature is valid.

Definition at line 189 of file app/misc/impl/Manifest.cpp.

◆ hash()

uint256 ripple::Manifest::hash ( ) const

Returns hash of serialized manifest data.

Definition at line 205 of file app/misc/impl/Manifest.cpp.

◆ revoked()

bool ripple::Manifest::revoked ( ) const

Returns true if manifest revokes master key.

Definition at line 214 of file app/misc/impl/Manifest.cpp.

◆ getSignature()

std::optional< Blob > ripple::Manifest::getSignature ( ) const

Returns manifest signature.

Definition at line 224 of file app/misc/impl/Manifest.cpp.

◆ getMasterSignature()

Blob ripple::Manifest::getMasterSignature ( ) const

Returns manifest master key signature.

Definition at line 235 of file app/misc/impl/Manifest.cpp.

Member Data Documentation

◆ serialized

std::string ripple::Manifest::serialized

The manifest in serialized form.

Definition at line 83 of file Manifest.h.

◆ masterKey

PublicKey ripple::Manifest::masterKey

The master key associated with this manifest.

Definition at line 86 of file Manifest.h.

◆ signingKey

PublicKey ripple::Manifest::signingKey

The ephemeral key associated with this manifest.

Definition at line 89 of file Manifest.h.

◆ sequence

std::uint32_t ripple::Manifest::sequence = 0

The sequence number of this manifest.

Definition at line 92 of file Manifest.h.

◆ domain

std::string ripple::Manifest::domain

The domain, if one was specified in the manifest; empty otherwise.

Definition at line 95 of file Manifest.h.