rippled
Loading...
Searching...
No Matches
Functions
ripple::credentials Namespace Reference

Functions

bool checkExpired (std::shared_ptr< SLE const > const &sleCredential, NetClock::time_point const &closed)
 
bool removeExpired (ApplyView &view, STVector256 const &arr, beast::Journal const j)
 
TER deleteSLE (ApplyView &view, std::shared_ptr< SLE > const &sleCredential, beast::Journal j)
 
NotTEC checkFields (STTx const &tx, beast::Journal j)
 
TER valid (STTx const &tx, ReadView const &view, AccountID const &src, beast::Journal j)
 
TER validDomain (ReadView const &view, uint256 domainID, AccountID const &subject)
 
TER authorizedDepositPreauth (ApplyView const &view, STVector256 const &ctx, AccountID const &dst)
 
std::set< std::pair< AccountID, Slice > > makeSorted (STArray const &credentials)
 
NotTEC checkArray (STArray const &credentials, unsigned maxSize, beast::Journal j)
 

Function Documentation

◆ checkExpired()

bool ripple::credentials::checkExpired ( std::shared_ptr< SLE const > const &  sleCredential,
NetClock::time_point const &  closed 
)

Definition at line 31 of file CredentialHelpers.cpp.

◆ removeExpired()

bool ripple::credentials::removeExpired ( ApplyView view,
STVector256 const &  arr,
beast::Journal const  j 
)

Definition at line 42 of file CredentialHelpers.cpp.

◆ deleteSLE()

TER ripple::credentials::deleteSLE ( ApplyView view,
std::shared_ptr< SLE > const &  sleCredential,
beast::Journal  j 
)

Definition at line 67 of file CredentialHelpers.cpp.

◆ checkFields()

NotTEC ripple::credentials::checkFields ( STTx const &  tx,
beast::Journal  j 
)

Definition at line 126 of file CredentialHelpers.cpp.

◆ valid()

TER ripple::credentials::valid ( STTx const &  tx,
ReadView const &  view,
AccountID const &  src,
beast::Journal  j 
)

Definition at line 156 of file CredentialHelpers.cpp.

◆ validDomain()

TER ripple::credentials::validDomain ( ReadView const &  view,
uint256  domainID,
AccountID const &  subject 
)

Definition at line 196 of file CredentialHelpers.cpp.

◆ authorizedDepositPreauth()

TER ripple::credentials::authorizedDepositPreauth ( ApplyView const &  view,
STVector256 const &  ctx,
AccountID const &  dst 
)

Definition at line 236 of file CredentialHelpers.cpp.

◆ makeSorted()

std::set< std::pair< AccountID, Slice > > ripple::credentials::makeSorted ( STArray const &  credentials)

Definition at line 264 of file CredentialHelpers.cpp.

◆ checkArray()

NotTEC ripple::credentials::checkArray ( STArray const &  credentials,
unsigned  maxSize,
beast::Journal  j 
)

Definition at line 277 of file CredentialHelpers.cpp.