Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

abort(String) - Method in class com.scalar.dl.ledger.contract.ContractExecutor
 
abort() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarTamperEvidentAssetLedger
 
abort(String) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarTransactionManager
 
abort() - Method in interface com.scalar.dl.ledger.database.TamperEvidentAssetLedger
 
abort() - Method in class com.scalar.dl.ledger.database.Transaction
 
abort(String) - Method in interface com.scalar.dl.ledger.database.TransactionManager
 
abort(ExecutionAbortRequest) - Method in class com.scalar.dl.ledger.service.LedgerService
 
abortExecution(ExecutionAbortRequest, StreamObserver<ExecutionAbortResponse>) - Method in class com.scalar.dl.ledger.server.LedgerService
 
AbstractRequest - Class in com.scalar.dl.ledger.model
 
AbstractRequest(String, int) - Constructor for class com.scalar.dl.ledger.model.AbstractRequest
 
AdminService - Class in com.scalar.dl.ledger.server
 
AdminService(GateKeeper) - Constructor for class com.scalar.dl.ledger.server.AdminService
 
age() - Method in interface com.scalar.dl.ledger.asset.Asset
Deprecated.
Returns an age of the asset.
age(int) - Method in class com.scalar.dl.ledger.asset.AssetHasher.Builder
 
age() - Method in class com.scalar.dl.ledger.asset.MetadataComprisedAsset
Deprecated.
 
AGE - Static variable in class com.scalar.dl.ledger.database.AssetRecord
 
age() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
age(int) - Method in class com.scalar.dl.ledger.database.AssetRecord.Builder
 
AGE - Static variable in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
age() - Method in interface com.scalar.dl.ledger.statemachine.Asset
Returns an age of the asset.
age() - Method in interface com.scalar.dl.ledger.statemachine.AssetInput.AssetIdAge
 
age() - Method in class com.scalar.dl.ledger.statemachine.MetadataComprisedAsset
 
argument(String) - Method in class com.scalar.dl.ledger.asset.AssetHasher.Builder
 
ARGUMENT - Static variable in class com.scalar.dl.ledger.database.AssetRecord
 
argument() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
argument(String) - Method in class com.scalar.dl.ledger.database.AssetRecord.Builder
 
ARGUMENT - Static variable in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
Asset - Interface in com.scalar.dl.ledger.asset
Deprecated.
This class won't be available to users in release 5.0.0.
Asset<T> - Interface in com.scalar.dl.ledger.statemachine
An asset entry abstraction.
AssetAttribute - Class in com.scalar.dl.ledger.database.scalardb
 
AssetAttribute() - Constructor for class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
AssetFilter - Class in com.scalar.dl.ledger.database
An condition used to scan and filter asset entries.
AssetFilter(String) - Constructor for class com.scalar.dl.ledger.database.AssetFilter
Constructs a AssetFilter with the specified ID.
AssetFilter.AgeOrder - Enum in com.scalar.dl.ledger.database
An order used to specify ordering of results.
AssetHasher - Class in com.scalar.dl.ledger.asset
A sha256 hasher for assets
AssetHasher.Builder - Class in com.scalar.dl.ledger.asset
 
AssetInput - Class in com.scalar.dl.ledger.statemachine
 
AssetInput(String) - Constructor for class com.scalar.dl.ledger.statemachine.AssetInput
 
AssetInput(Map<String, InternalAsset>) - Constructor for class com.scalar.dl.ledger.statemachine.AssetInput
 
AssetInput.AssetIdAge - Interface in com.scalar.dl.ledger.statemachine
 
AssetLedger - Class in com.scalar.dl.ledger.database
 
AssetLedger(TamperEvidentAssetLedger) - Constructor for class com.scalar.dl.ledger.database.AssetLedger
 
AssetLedgerUtility - Class in com.scalar.dl.ledger.database.scalardb
 
AssetLedgerUtility() - Constructor for class com.scalar.dl.ledger.database.scalardb.AssetLedgerUtility
 
AssetMetadata - Interface in com.scalar.dl.ledger.asset
Deprecated.
This class won't be available to users in release 5.0.0.
AssetMetadata - Interface in com.scalar.dl.ledger.statemachine
Asset metadata, which corresponds to the proof of a corresponding asset, that is internally utilized to verify the integrity of a corresponding asset.
AssetProofComposer - Class in com.scalar.dl.ledger.database.scalardb
 
AssetProofComposer(SignatureSigner) - Constructor for class com.scalar.dl.ledger.database.scalardb.AssetProofComposer
 
AssetProofRetrievalRequest - Class in com.scalar.dl.ledger.model
 
AssetProofRetrievalRequest(String, int, String, int, byte[]) - Constructor for class com.scalar.dl.ledger.model.AssetProofRetrievalRequest
 
AssetRecord - Class in com.scalar.dl.ledger.database
 
AssetRecord.Builder - Class in com.scalar.dl.ledger.database
 
AssetRecord.Key - Class in com.scalar.dl.ledger.database
 
AssetScanner - Interface in com.scalar.dl.ledger.database
 
AUDITOR_CERT_HOLDER_ID - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
Deprecated.
This will be deleted in release 5.0.0 since Ledger-Auditor authentication will use HMAC only.
AUDITOR_CERT_VERSION - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
Deprecated.
This will be deleted in release 5.0.0 since Ledger-Auditor authentication will use HMAC only.
AUDITOR_ENABLED - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.auditor.enabled
A flag to enable Auditor (false by default).
AUDITOR_ENTITY_ID - Static variable in class com.scalar.dl.ledger.crypto.ClientKeyValidator
 
AuditorKeyValidator - Class in com.scalar.dl.ledger.crypto
 
AuditorKeyValidator(LedgerConfig, CertificateManager, SecretManager) - Constructor for class com.scalar.dl.ledger.crypto.AuditorKeyValidator
 
AUTHENTICATION_HMAC_CIPHER_KEY - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.authentication.hmac.cipher_key (Optional)
A cipher key used to encrypt and decrypt the HMAC secret keys of client entities.
AUTHENTICATION_METHOD - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.authentication.method (Optional)
The authentication method for a client and servers.

B

BaseService - Class in com.scalar.dl.ledger.service
 
BaseService(CertificateManager, SecretManager, ClientKeyValidator, ContractManager) - Constructor for class com.scalar.dl.ledger.service.BaseService
 
BINARY_NAME - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
BINARY_NAME - Static variable in class com.scalar.dl.ledger.function.FunctionEntry
 
bind(CertificateEntry) - Method in interface com.scalar.dl.ledger.database.CertificateRegistry
 
bind(ContractEntry) - Method in interface com.scalar.dl.ledger.database.ContractRegistry
 
bind(FunctionEntry) - Method in interface com.scalar.dl.ledger.database.FunctionRegistry
 
bind(CertificateEntry) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarCertificateRegistry
 
bind(ContractEntry) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractRegistry
 
bind(FunctionEntry) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarFunctionRegistry
 
bind(SecretEntry) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarSecretRegistry
 
bind(SecretEntry) - Method in interface com.scalar.dl.ledger.database.SecretRegistry
 
build() - Method in class com.scalar.dl.ledger.asset.AssetHasher.Builder
Compute the hash of the built asset.
build() - Method in class com.scalar.dl.ledger.database.AssetRecord.Builder
 
Builder() - Constructor for class com.scalar.dl.ledger.asset.AssetHasher.Builder
 
BYTE_CODE - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
BYTE_CODE - Static variable in class com.scalar.dl.ledger.function.FunctionEntry
 

C

call() - Method in class com.scalar.dl.ledger.server.LedgerServer
 
CertificateEntry - Class in com.scalar.dl.ledger.crypto
Container for a registered certificate and data about that certificate.
CertificateEntry(String, int, String, long) - Constructor for class com.scalar.dl.ledger.crypto.CertificateEntry
Constructs a CertificateEntry with the specified entity id, certificate version, certificate, and time the certificate was registered.
CertificateEntry.Key - Class in com.scalar.dl.ledger.crypto
 
CertificateManager - Class in com.scalar.dl.ledger.crypto
A manager used to store and retrieve CertificateEntrys from a CertificateRegistry.
CertificateManager(CertificateRegistry) - Constructor for class com.scalar.dl.ledger.crypto.CertificateManager
Constructs a CertificateManager with the specified CertificateRegistry.
CertificateManager(CertificateRegistry, Cache<CertificateEntry.Key, DigitalSignatureValidator>) - Constructor for class com.scalar.dl.ledger.crypto.CertificateManager
 
CertificateRegistrationRequest - Class in com.scalar.dl.ledger.model
A request for certification registration.
CertificateRegistrationRequest(String, int, String) - Constructor for class com.scalar.dl.ledger.model.CertificateRegistrationRequest
Constructs a CertificateRegistrationRequest with the specified entity id, the version of a certificate and the certificate in PEM format.
CertificateRegistry - Interface in com.scalar.dl.ledger.database
 
checkPaused(Empty, StreamObserver<CheckPausedResponse>) - Method in class com.scalar.dl.ledger.server.AdminService
 
ClientIdentityKey - Interface in com.scalar.dl.ledger.crypto
 
ClientKeyValidator - Class in com.scalar.dl.ledger.crypto
 
ClientKeyValidator(ServersHmacAuthenticatable, AuthenticationMethod, CertificateManager, SecretManager) - Constructor for class com.scalar.dl.ledger.crypto.ClientKeyValidator
 
clientKeyValidator - Variable in class com.scalar.dl.ledger.service.ValidationService
 
com.scalar - package com.scalar
 
commit() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarTamperEvidentAssetLedger
 
commit() - Method in interface com.scalar.dl.ledger.database.TamperEvidentAssetLedger
 
commit() - Method in class com.scalar.dl.ledger.database.Transaction
 
compareTo(AssetRecord.Key) - Method in class com.scalar.dl.ledger.database.AssetRecord.Key
 
compose(Snapshot, ContractExecutionRequest) - Method in class com.scalar.dl.ledger.database.scalardb.DefaultTamperEvidentAssetComposer
 
compose(Snapshot, ContractExecutionRequest) - Method in interface com.scalar.dl.ledger.database.scalardb.TamperEvidentAssetComposer
 
configure() - Method in class com.scalar.dl.ledger.server.LedgerServerModule
 
configure() - Method in class com.scalar.dl.ledger.service.LedgerModule
 
ConflictException - Exception in com.scalar.dl.ledger.exception
 
ConflictException(String) - Constructor for exception com.scalar.dl.ledger.exception.ConflictException
 
ConflictException(String, Map<String, Integer>) - Constructor for exception com.scalar.dl.ledger.exception.ConflictException
 
ConflictException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.ConflictException
 
ConflictException(String, Throwable, Map<String, Integer>) - Constructor for exception com.scalar.dl.ledger.exception.ConflictException
 
Contract - Class in com.scalar.dl.ledger.contract
Deprecated.
This class will be package-private and won't be available to users in release 5.0.0.
Contract() - Constructor for class com.scalar.dl.ledger.contract.Contract
Deprecated.
 
CONTRACT_ID - Static variable in class com.scalar.dl.ledger.database.AssetRecord
 
CONTRACT_ID - Static variable in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
ContractContextException - Exception in com.scalar.dl.ledger.exception
 
ContractContextException(String) - Constructor for exception com.scalar.dl.ledger.exception.ContractContextException
 
ContractContextException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.ContractContextException
 
ContractEntry - Class in com.scalar.dl.ledger.contract
A container for (the bytecode of) a registered contract and data about that contract.
ContractEntry(String, String, String, int, byte[], String, long, byte[]) - Constructor for class com.scalar.dl.ledger.contract.ContractEntry
Constructs a ContractEntry with the specified contract id, contract binary name, entity id, certificate version, bytecode of the contract, properties of the contract, the time the contract was registered at, and the signature of the contract.
ContractEntry.Key - Class in com.scalar.dl.ledger.contract
A Key to associate a contract id with a ClientIdentityKey.
ContractException - Exception in com.scalar.dl.ledger.exception
 
ContractException(String, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.ContractException
 
ContractException(String, Throwable, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.ContractException
 
ContractExecutionRequest - Class in com.scalar.dl.ledger.model
A request for contract execution.
ContractExecutionRequest(String, String, int, String, String, List<String>, String, byte[], byte[]) - Constructor for class com.scalar.dl.ledger.model.ContractExecutionRequest
Constructs a ContractExecutionRequest with the specified nonce, contract id, argument, entity ID, key version, a list of AssetProof and signature of the request.
ContractExecutor - Class in com.scalar.dl.ledger.contract
 
ContractExecutor(LedgerConfig, ContractManager, FunctionManager, TransactionManager) - Constructor for class com.scalar.dl.ledger.contract.ContractExecutor
 
contractId(String) - Method in class com.scalar.dl.ledger.asset.AssetHasher.Builder
 
contractId(String) - Method in class com.scalar.dl.ledger.database.AssetRecord.Builder
 
contractId() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
ContractLoader - Class in com.scalar.dl.ledger.contract
A class loader for a Contract from its bytecode.
ContractLoader(ProtectionDomain) - Constructor for class com.scalar.dl.ledger.contract.ContractLoader
 
ContractMachine - Class in com.scalar.dl.ledger.contract
 
ContractMachine(Object) - Constructor for class com.scalar.dl.ledger.contract.ContractMachine
 
ContractManager - Class in com.scalar.dl.ledger.contract
A manager to store ContractEntrys in a ContractRegistry, retrieve ContractEntrys, instantiate ContractMachines from their ids, and also validate contracts (i.e.
ContractManager(ContractRegistry, ContractLoader, ClientKeyValidator) - Constructor for class com.scalar.dl.ledger.contract.ContractManager
 
ContractManager(ContractRegistry, ContractLoader, ClientKeyValidator, Cache<ContractEntry.Key, Object>) - Constructor for class com.scalar.dl.ledger.contract.ContractManager
 
contractManager - Variable in class com.scalar.dl.ledger.service.ValidationService
 
ContractRegistrationRequest - Class in com.scalar.dl.ledger.model
A request for contract registration.
ContractRegistrationRequest(String, String, byte[], String, String, int, byte[]) - Constructor for class com.scalar.dl.ledger.model.ContractRegistrationRequest
Constructs a ContractRegistrationRequest with the specified contract id, contract binary name, contract itself in byte-code format, entity ID, key version and signature of the request.
ContractRegistry - Interface in com.scalar.dl.ledger.database
 
ContractScanner - Class in com.scalar.dl.ledger.contract
 
ContractScanner(ContractManager) - Constructor for class com.scalar.dl.ledger.contract.ContractScanner
 
ContractsListingRequest - Class in com.scalar.dl.ledger.model
 
ContractsListingRequest(String, String, int, byte[]) - Constructor for class com.scalar.dl.ledger.model.ContractsListingRequest
 
ContractValidationException - Exception in com.scalar.dl.ledger.exception
 
ContractValidationException(String) - Constructor for exception com.scalar.dl.ledger.exception.ContractValidationException
 
ContractValidationException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.ContractValidationException
 
ContractValidator - Class in com.scalar.dl.ledger.validation
A validator which will determine whether the signature of a ContractExecutionRequest is valid or not.
ContractValidator(ClientKeyValidator) - Constructor for class com.scalar.dl.ledger.validation.ContractValidator
 
convert(CertificateRegistrationRequest) - Static method in class com.scalar.dl.ledger.server.TypeConverter
 
convert(SecretRegistrationRequest) - Static method in class com.scalar.dl.ledger.server.TypeConverter
 
convert(ContractRegistrationRequest) - Static method in class com.scalar.dl.ledger.server.TypeConverter
 
convert(FunctionRegistrationRequest) - Static method in class com.scalar.dl.ledger.server.TypeConverter
 
convert(ContractsListingRequest) - Static method in class com.scalar.dl.ledger.server.TypeConverter
 
convert(ContractExecutionRequest) - Static method in class com.scalar.dl.ledger.server.TypeConverter
 
convert(LedgerValidationRequest) - Static method in class com.scalar.dl.ledger.server.TypeConverter
 
convert(AssetProofRetrievalRequest) - Static method in class com.scalar.dl.ledger.server.TypeConverter
 
convert(StateRetrievalRequest) - Static method in class com.scalar.dl.ledger.server.TypeConverter
 
convert(ExecutionAbortRequest) - Static method in class com.scalar.dl.ledger.server.TypeConverter
 
convert(List<ContractEntry>) - Static method in class com.scalar.dl.ledger.server.TypeConverter
 
create(Put, String) - Method in class com.scalar.dl.ledger.database.scalardb.AssetProofComposer
 
create(InternalAsset) - Method in class com.scalar.dl.ledger.database.scalardb.AssetProofComposer
 
create(InternalAsset, String) - Method in class com.scalar.dl.ledger.database.scalardb.AssetProofComposer
 
create(String, int, String, String, byte[], byte[]) - Method in class com.scalar.dl.ledger.database.scalardb.AssetProofComposer
 

D

data() - Method in interface com.scalar.dl.ledger.asset.Asset
Deprecated.
Returns a data of the asset.
data() - Method in class com.scalar.dl.ledger.asset.MetadataComprisedAsset
Deprecated.
 
data(String) - Method in class com.scalar.dl.ledger.database.AssetRecord.Builder
 
data() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
data() - Method in interface com.scalar.dl.ledger.statemachine.Asset
Returns a data of the asset.
data() - Method in class com.scalar.dl.ledger.statemachine.MetadataComprisedAsset
 
Database<G,S,P,D,R> - Interface in com.scalar.dl.ledger.database
A mutable database abstraction for functions, which can be executed atomically with contracts as requested.
DatabaseException - Exception in com.scalar.dl.ledger.exception
 
DatabaseException(String, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.DatabaseException
 
DatabaseException(String, Throwable, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.DatabaseException
 
DefaultTamperEvidentAssetComposer - Class in com.scalar.dl.ledger.database.scalardb
 
DefaultTamperEvidentAssetComposer() - Constructor for class com.scalar.dl.ledger.database.scalardb.DefaultTamperEvidentAssetComposer
 
defineClass(ContractEntry) - Method in class com.scalar.dl.ledger.contract.ContractLoader
Turns the bytecode of a registered contract into an instance of class Class.
defineClass(FunctionEntry) - Method in class com.scalar.dl.ledger.function.FunctionLoader
Turns the bytecode of a registered transaction into a Function instance.
delete(D) - Method in interface com.scalar.dl.ledger.database.Database
 
delete(Delete) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarMutableDatabase
 
DeprecatedLedger - Class in com.scalar.dl.ledger.statemachine
 
DeprecatedLedger(Ledger) - Constructor for class com.scalar.dl.ledger.statemachine.DeprecatedLedger
 
DeprecatedLedgerReturnable - Interface in com.scalar.dl.ledger.statemachine
 
DeprecatedLedgerTracer - Class in com.scalar.dl.ledger.validation
 
DeprecatedLedgerTracer(LedgerTracer) - Constructor for class com.scalar.dl.ledger.validation.DeprecatedLedgerTracer
 
DeserializationType - Enum in com.scalar.dl.ledger.statemachine
 
deserialize(String) - Static method in class com.scalar.dl.ledger.contract.ContractEntry.Key
 
DIRECT_ASSET_ACCESS_ENABLED - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.direct_asset_access.enabled
A flag to access asset table directly without going through asset_metadata (false by default).
doGet(String, int) - Method in interface com.scalar.dl.ledger.database.AssetScanner
 
doScan(AssetFilter) - Method in interface com.scalar.dl.ledger.database.AssetScanner
 
doScan(AssetFilter) - Method in class com.scalar.dl.ledger.database.scalardb.TransactionAssetScanner
 

E

ENTITY_ID - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
ENTITY_ID - Static variable in class com.scalar.dl.ledger.crypto.CertificateEntry
 
ENTITY_ID - Static variable in class com.scalar.dl.ledger.crypto.SecretEntry
 
equals(Object) - Method in class com.scalar.dl.ledger.contract.ContractEntry
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.contract.ContractEntry.Key
 
equals(Object) - Method in class com.scalar.dl.ledger.crypto.CertificateEntry
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.crypto.CertificateEntry.Key
 
equals(Object) - Method in class com.scalar.dl.ledger.crypto.SecretEntry
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.crypto.SecretEntry.Key
 
equals(Object) - Method in class com.scalar.dl.ledger.database.AssetFilter
 
equals(Object) - Method in class com.scalar.dl.ledger.database.AssetRecord
 
equals(Object) - Method in class com.scalar.dl.ledger.database.AssetRecord.Key
 
equals(Object) - Method in class com.scalar.dl.ledger.function.FunctionEntry
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.model.AbstractRequest
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.model.AssetProofRetrievalRequest
 
equals(Object) - Method in class com.scalar.dl.ledger.model.CertificateRegistrationRequest
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.model.ContractRegistrationRequest
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.model.ContractsListingRequest
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.model.ExecutionAbortRequest
 
equals(Object) - Method in class com.scalar.dl.ledger.model.ExecutionAbortResult
 
equals(Object) - Method in class com.scalar.dl.ledger.model.FunctionRegistrationRequest
 
equals(Object) - Method in class com.scalar.dl.ledger.model.LedgerValidationRequest
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.model.StateRetrievalRequest
 
equals(Object) - Method in class com.scalar.dl.ledger.model.StateRetrievalResult
 
EXECUTABLE_CONTRACTS - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.executable_contracts
Binary names of contracts that can be executed.
execute(ContractExecutionRequest) - Method in class com.scalar.dl.ledger.contract.ContractExecutor
 
execute(ContractExecutionRequest) - Method in class com.scalar.dl.ledger.service.LedgerService
 
executeContract(ContractExecutionRequest, StreamObserver<ContractExecutionResponse>) - Method in class com.scalar.dl.ledger.server.LedgerService
 
ExecutionAbortRequest - Class in com.scalar.dl.ledger.model
 
ExecutionAbortRequest(String, String, int, byte[]) - Constructor for class com.scalar.dl.ledger.model.ExecutionAbortRequest
 
ExecutionAbortResult - Class in com.scalar.dl.ledger.model
 
ExecutionAbortResult(TransactionState) - Constructor for class com.scalar.dl.ledger.model.ExecutionAbortResult
 

F

finalize() - Method in class com.scalar.dl.ledger.config.LedgerConfig
SpotBugs detects Bug Type "CT_CONSTRUCTOR_THROW" saying that "The object under construction remains partially initialized and may be vulnerable to Finalizer attacks."
finalize() - Method in class com.scalar.dl.ledger.contract.ContractMachine
SpotBugs detects Bug Type "CT_CONSTRUCTOR_THROW" saying that "The object under construction remains partially initialized and may be vulnerable to Finalizer attacks."
finalize() - Method in class com.scalar.dl.ledger.function.FunctionMachine
SpotBugs detects Bug Type "CT_CONSTRUCTOR_THROW" saying that "The object under construction remains partially initialized and may be vulnerable to Finalizer attacks."
from(ContractRegistrationRequest) - Static method in class com.scalar.dl.ledger.contract.ContractEntry
Turns a ContractRegistrationRequest into a ContractEntry by adding a registered at time, and returns it.
from(ContractExecutionRequest) - Static method in class com.scalar.dl.ledger.contract.ContractEntry.Key
 
from(CertificateRegistrationRequest) - Static method in class com.scalar.dl.ledger.crypto.CertificateEntry
Constructs a CertificateEntry from a CertificateRegistrationRequest by adding the current time as the registered at time.
from(FunctionRegistrationRequest) - Static method in class com.scalar.dl.ledger.function.FunctionEntry
 
Function - Class in com.scalar.dl.ledger.function
Deprecated.
This class will be package-private and won't be available to users in release 5.0.0.
Function() - Constructor for class com.scalar.dl.ledger.function.Function
Deprecated.
 
FUNCTION_ENABLED - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.function.enabled
A flag to enable function for mutable database (true by default).
FunctionEntry - Class in com.scalar.dl.ledger.function
 
FunctionEntry(String, String, byte[], long) - Constructor for class com.scalar.dl.ledger.function.FunctionEntry
 
FunctionException - Exception in com.scalar.dl.ledger.exception
 
FunctionException(String, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.FunctionException
 
FunctionException(String, Throwable, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.FunctionException
 
FunctionLoader - Class in com.scalar.dl.ledger.function
A class loader for a Functioin from its bytecode.
FunctionLoader(ProtectionDomain) - Constructor for class com.scalar.dl.ledger.function.FunctionLoader
 
FunctionMachine - Class in com.scalar.dl.ledger.function
 
FunctionMachine(Object) - Constructor for class com.scalar.dl.ledger.function.FunctionMachine
 
FunctionManager - Class in com.scalar.dl.ledger.function
 
FunctionManager(FunctionRegistry, FunctionLoader) - Constructor for class com.scalar.dl.ledger.function.FunctionManager
 
FunctionRegistrationRequest - Class in com.scalar.dl.ledger.model
 
FunctionRegistrationRequest(String, String, byte[]) - Constructor for class com.scalar.dl.ledger.model.FunctionRegistrationRequest
 
FunctionRegistry - Interface in com.scalar.dl.ledger.database
 

G

get() - Method in class com.scalar.dl.ledger.asset.AssetHasher
 
get(ContractEntry.Key) - Method in class com.scalar.dl.ledger.contract.ContractManager
Returns a ContractEntry.
get(String) - Method in class com.scalar.dl.ledger.database.AssetLedger
 
get(G) - Method in interface com.scalar.dl.ledger.database.Database
 
get(String) - Method in interface com.scalar.dl.ledger.database.Ledger
Deprecated.
Retrieves the latest Asset entry (an asset entry with the largest age) from the ledger with the specified asset ID.
get(Get) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarMutableDatabase
 
get(String) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarTamperEvidentAssetLedger
 
get(String) - Method in class com.scalar.dl.ledger.database.Snapshot
 
get(String) - Method in interface com.scalar.dl.ledger.database.TamperEvidentAssetLedger
 
get(String) - Method in class com.scalar.dl.ledger.function.FunctionManager
 
get(String) - Method in class com.scalar.dl.ledger.statemachine.DeprecatedLedger
 
get(String) - Method in class com.scalar.dl.ledger.statemachine.JacksonBasedAssetLedger
 
get(String) - Method in class com.scalar.dl.ledger.statemachine.JsonpBasedAssetLedger
 
get(String) - Method in interface com.scalar.dl.ledger.statemachine.Ledger
Retrieves the latest Asset entry (an asset entry with the largest age) from the ledger with the specified asset ID.
get(String) - Method in class com.scalar.dl.ledger.statemachine.StringBasedAssetLedger
 
get(String) - Method in class com.scalar.dl.ledger.validation.DeprecatedLedgerTracer
 
get(String) - Method in class com.scalar.dl.ledger.validation.LedgerTracer
 
get(String) - Method in class com.scalar.dl.ledger.validation.LedgerTracerBase
 
getAdminPort() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getAge() - Method in class com.scalar.dl.ledger.database.AssetRecord.Key
 
getAge() - Method in class com.scalar.dl.ledger.model.AssetProofRetrievalRequest
Returns the age of the asset.
getAgeOrder() - Method in class com.scalar.dl.ledger.database.AssetFilter
Returns the ordering used to sort results.
getAssetId() - Method in class com.scalar.dl.ledger.model.AssetProofRetrievalRequest
Returns the id of the asset.
getAssetId() - Method in class com.scalar.dl.ledger.model.LedgerValidationRequest
Returns the id of the asset.
getAssetRecordFrom(Result) - Static method in class com.scalar.dl.ledger.database.scalardb.AssetLedgerUtility
 
getAuditorCertHolderId() - Method in class com.scalar.dl.ledger.config.LedgerConfig
Deprecated.
getAuditorCertVersion() - Method in class com.scalar.dl.ledger.config.LedgerConfig
Deprecated.
getAuditorSignature() - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Returns the signature from an auditor
getAuthenticationMethod() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getBinaryName() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the binary name of the ContractEntry.
getBinaryName() - Method in class com.scalar.dl.ledger.function.FunctionEntry
Returns the binary name of the FunctionEntry.
getBinaryNameValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractEntry
Returns a TextValue consisting of the binary name of the ContractEntry.
getBinaryNameValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarFunctionEntry
Returns a TextValue consisting of the binary name of the FunctionEntry.
getByteCode() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the bytecode of the contract contained in the ContractEntry.
getByteCode() - Method in class com.scalar.dl.ledger.function.FunctionEntry
Returns the bytecode of the function contained in the FunctionEntry.
getByteCodeValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractEntry
Returns a BlobValue consisting of the bytecode of the contract contained in the ContractEntry.
getByteCodeValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarFunctionEntry
Returns a BlobValue consisting of the bytecode of the function contained in the FunctionEntry.
getCertificateKey() - Method in class com.scalar.dl.ledger.contract.Contract
Deprecated.
 
getCertPem() - Method in class com.scalar.dl.ledger.model.CertificateRegistrationRequest
Returns the certificate in PEM format.
getClientIdentityKey() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the ClientIdentityKey of the ContractEntry.
getClientIdentityKey() - Method in class com.scalar.dl.ledger.contract.ContractEntry.Key
 
getClientIdentityKey() - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
getContext() - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
getContractArgument() - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Returns the argument to a contract.
getContractBase() - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
getContractBinaryName() - Method in class com.scalar.dl.ledger.model.ContractRegistrationRequest
Returns the binary name of the contract.
getContractByteCode() - Method in class com.scalar.dl.ledger.model.ContractRegistrationRequest
Returns the contract in byte-code format.
getContractId() - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Returns the contract id of a contract.
getContractId() - Method in class com.scalar.dl.ledger.model.ContractRegistrationRequest
Returns the id of the contract.
getContractId() - Method in class com.scalar.dl.ledger.model.ContractsListingRequest
Returns the contract id of the request.
getContractProperties() - Method in class com.scalar.dl.ledger.model.ContractRegistrationRequest
Returns the properties of the contract.
getDatabase() - Method in class com.scalar.dl.ledger.database.Transaction
 
getDatabaseConfig() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getDecommissioningDurationSecs() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getDeprecatedLedger() - Method in class com.scalar.dl.ledger.statemachine.DeprecatedLedger
 
getDeprecatedLedger() - Method in interface com.scalar.dl.ledger.statemachine.DeprecatedLedgerReturnable
 
getDeprecatedLedger() - Method in class com.scalar.dl.ledger.validation.DeprecatedLedgerTracer
 
getDeserializationType() - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
getEndAge() - Method in class com.scalar.dl.ledger.database.AssetFilter
Returns the end age of scan.
getEndAge() - Method in class com.scalar.dl.ledger.model.LedgerValidationRequest
Returns the age of the asset to be validated to.
getEntityId() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the entity id that holds the certificate of the ContractEntry.
getEntityId() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry
Returns the entity ID that holds the certificate.
getEntityId() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry.Key
 
getEntityId() - Method in interface com.scalar.dl.ledger.crypto.ClientIdentityKey
 
getEntityId() - Method in class com.scalar.dl.ledger.crypto.SecretEntry
Returns the entity ID.
getEntityId() - Method in class com.scalar.dl.ledger.crypto.SecretEntry.Key
 
getEntityId() - Method in class com.scalar.dl.ledger.model.AbstractRequest
Returns the entity ID.
getEntityIdValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractEntry
Returns a TextValue consisting of the entity id of the ContractEntry.
getExecutableContractNames() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getFunctionArgument() - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Returns the argument to user-defined functions
getFunctionBase() - Method in class com.scalar.dl.ledger.function.FunctionMachine
 
getFunctionBinaryName() - Method in class com.scalar.dl.ledger.model.FunctionRegistrationRequest
 
getFunctionByteCode() - Method in class com.scalar.dl.ledger.model.FunctionRegistrationRequest
 
getFunctionId() - Method in class com.scalar.dl.ledger.model.FunctionRegistrationRequest
 
getFunctionIds() - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Returns a list of function ids.
getGrpcServerConfig() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getHmacCipherKey() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getHolderId() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry.Key
Deprecated.
getId() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the id of the ContractEntry.
getId() - Method in class com.scalar.dl.ledger.contract.ContractEntry.Key
 
getId() - Method in class com.scalar.dl.ledger.database.AssetFilter
Returns the asset ID.
getId() - Method in class com.scalar.dl.ledger.database.AssetRecord.Key
 
getId() - Method in class com.scalar.dl.ledger.function.FunctionEntry
Returns the id of the FunctionEntry.
getIds() - Method in exception com.scalar.dl.ledger.exception.ConflictException
 
getIdValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractEntry
Returns a TextValue consisting of the id of the ContractEntry.
getIdValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarFunctionEntry
Returns a TextValue consisting of the id of the FunctionEntry.
getInstance(ContractEntry) - Method in class com.scalar.dl.ledger.contract.ContractManager
Instantiates a ContractMachine from the specified contract entry.
getInstance(FunctionEntry) - Method in class com.scalar.dl.ledger.function.FunctionManager
 
getInstance(String) - Method in class com.scalar.dl.ledger.function.FunctionManager
 
getKey() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the Key of the ContractEntry.
getKey() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry
Returns the Key of the CertificateEntry.
getKey() - Method in class com.scalar.dl.ledger.crypto.SecretEntry
Returns the Key of the SecretEntry.
getKey() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
getKeyVersion() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the version of the certificate or the HMAC secret key of the ContractEntry.
getKeyVersion() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry.Key
 
getKeyVersion() - Method in interface com.scalar.dl.ledger.crypto.ClientIdentityKey
 
getKeyVersion() - Method in class com.scalar.dl.ledger.crypto.SecretEntry
Returns the secret key version.
getKeyVersion() - Method in class com.scalar.dl.ledger.crypto.SecretEntry.Key
 
getKeyVersion() - Method in class com.scalar.dl.ledger.model.AbstractRequest
Returns the version of a digital signature certificate or a HMAC secret key.
getKeyVersionValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractEntry
Returns a TextValue consisting of the certificate version of the ContractEntry.
getLedger() - Method in class com.scalar.dl.ledger.database.Transaction
 
getLedger(DeserializationType) - Method in class com.scalar.dl.ledger.database.Transaction
 
getLimit() - Method in class com.scalar.dl.ledger.database.AssetFilter
Returns the maximum number of results to be returned.
getName() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getNamespace() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getNonce() - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Returns the nonce value of the request.
getNonce() - Method in class com.scalar.dl.ledger.model.ExecutionAbortRequest
 
getObjectMapper() - Method in class com.scalar.dl.ledger.contract.JacksonBasedContract
 
getObjectMapper() - Method in class com.scalar.dl.ledger.function.JacksonBasedFunction
 
getOutput(String) - Method in class com.scalar.dl.ledger.validation.DeprecatedLedgerTracer
 
getOutput(String) - Method in class com.scalar.dl.ledger.validation.JacksonBasedLedgerTracer
 
getOutput(String) - Method in class com.scalar.dl.ledger.validation.JsonpBasedLedgerTracer
 
getOutput(String) - Method in class com.scalar.dl.ledger.validation.LedgerTracer
 
getOutput(String) - Method in class com.scalar.dl.ledger.validation.LedgerTracerBase
 
getOutput(String) - Method in class com.scalar.dl.ledger.validation.StringBasedLedgerTracer
 
getOutputs() - Method in class com.scalar.dl.ledger.validation.DeprecatedLedgerTracer
 
getOutputs() - Method in class com.scalar.dl.ledger.validation.JacksonBasedLedgerTracer
 
getOutputs() - Method in class com.scalar.dl.ledger.validation.JsonpBasedLedgerTracer
 
getOutputs() - Method in class com.scalar.dl.ledger.validation.LedgerTracer
 
getOutputs() - Method in class com.scalar.dl.ledger.validation.LedgerTracerBase
 
getOutputs() - Method in class com.scalar.dl.ledger.validation.StringBasedLedgerTracer
 
getPem() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry
Returns the certificate.
getPort() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getPrivilegedPort() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getProductName() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getPrometheusExporterPort() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getProofPrivateKey() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getProperties() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the properties of the ContractEntry (may be empty).
getPropertiesValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractEntry
Returns a TextValue consisting of the properties (possibly null) of the ContractEntry.
getProtectionDomain(DatabaseConfig) - Static method in class com.scalar.dl.ledger.service.LedgerModule
 
getReadSet() - Method in class com.scalar.dl.ledger.database.Snapshot
 
getRegisteredAt() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the registered at time of the ContractEntry.
getRegisteredAt() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry
Returns the time the certificate was registered at.
getRegisteredAt() - Method in class com.scalar.dl.ledger.crypto.SecretEntry
Returns the time the secret key was registered at.
getRegisteredAt() - Method in class com.scalar.dl.ledger.function.FunctionEntry
Returns the registered at time of the FunctionEntry.
getRegisteredAtValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractEntry
Returns a BigIntValue consisting of the registered at time of the ContractEntry.
getRegisteredAtValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarFunctionEntry
Returns a BigIntValue consisting of the registered at time of the FunctionEntry.
getScanFrom(AssetFilter) - Static method in class com.scalar.dl.ledger.database.scalardb.AssetLedgerUtility
 
getSecretKey() - Method in class com.scalar.dl.ledger.crypto.SecretEntry
Returns the secret key.
getServersAuthenticationHmacSecretKey() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getServerTlsCertChainPath() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getServerTlsPrivateKeyPath() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getServiceName() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
getSignature() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the properties of the ContractEntry (may be empty).
getSignature() - Method in class com.scalar.dl.ledger.model.AssetProofRetrievalRequest
Returns the signature of the request.
getSignature() - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Returns the signature of the request
getSignature() - Method in class com.scalar.dl.ledger.model.ContractRegistrationRequest
Returns the signature of the request.
getSignature() - Method in class com.scalar.dl.ledger.model.ContractsListingRequest
Returns the signature of the request.
getSignature() - Method in class com.scalar.dl.ledger.model.ExecutionAbortRequest
 
getSignature() - Method in class com.scalar.dl.ledger.model.LedgerValidationRequest
Returns the signature of the request.
getSignatureValue() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractEntry
Returns a BlobValue consisting of the signature of the ContractEntry.
getStartAge() - Method in class com.scalar.dl.ledger.database.AssetFilter
Returns the start age of scan.
getStartAge() - Method in class com.scalar.dl.ledger.model.LedgerValidationRequest
Returns the age of the asset to be validated from.
getState(String) - Method in class com.scalar.dl.ledger.contract.ContractExecutor
 
getState(String) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarTransactionManager
 
getState(String) - Method in class com.scalar.dl.ledger.database.scalardb.TransactionStateManager
 
getState(String) - Method in interface com.scalar.dl.ledger.database.TransactionManager
 
getState() - Method in class com.scalar.dl.ledger.model.ExecutionAbortResult
 
getState() - Method in class com.scalar.dl.ledger.model.StateRetrievalResult
 
getTransactionId() - Method in class com.scalar.dl.ledger.model.StateRetrievalRequest
 
getUnknownTransactionId() - Method in exception com.scalar.dl.ledger.exception.UnknownTransactionStatusException
 
getValidator() - Method in class com.scalar.dl.ledger.crypto.AuditorKeyValidator
 
getValidator(CertificateEntry.Key) - Method in class com.scalar.dl.ledger.crypto.CertificateManager
Returns a DigitalSignatureValidator for the given CertificateEntry.Key.
getValidator(String, int) - Method in class com.scalar.dl.ledger.crypto.ClientKeyValidator
 
getValidator(SecretEntry.Key) - Method in class com.scalar.dl.ledger.crypto.SecretManager
Returns a HmacValidator for the given SecretEntry.Key.
getValidator(String) - Method in class com.scalar.dl.ledger.crypto.SecretManager
Returns a HmacValidator for the given secret.
getVersion() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry
Returns the certificate version.
getWriteSet() - Method in class com.scalar.dl.ledger.database.Snapshot
 

H

hash() - Method in interface com.scalar.dl.ledger.asset.AssetMetadata
Deprecated.
Returns the hash of the asset record.
hash(byte[]) - Method in class com.scalar.dl.ledger.database.AssetRecord.Builder
 
HASH - Static variable in class com.scalar.dl.ledger.database.AssetRecord
 
hash() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
HASH - Static variable in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
hash() - Method in interface com.scalar.dl.ledger.statemachine.AssetMetadata
Returns the hash of the asset record.
hashCode() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.contract.ContractEntry.Key
 
hashCode() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry.Key
 
hashCode() - Method in class com.scalar.dl.ledger.crypto.SecretEntry
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.crypto.SecretEntry.Key
 
hashCode() - Method in class com.scalar.dl.ledger.database.AssetFilter
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
hashCode() - Method in class com.scalar.dl.ledger.database.AssetRecord.Key
 
hashCode() - Method in class com.scalar.dl.ledger.function.FunctionEntry
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.AbstractRequest
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.AssetProofRetrievalRequest
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.CertificateRegistrationRequest
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.ContractRegistrationRequest
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.ContractsListingRequest
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.ExecutionAbortRequest
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.ExecutionAbortResult
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.FunctionRegistrationRequest
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.LedgerValidationRequest
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.StateRetrievalRequest
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.StateRetrievalResult
Returns a hash code value for the object.
HashValidator - Class in com.scalar.dl.ledger.validation
A validator to determine whether the recomputed hash of an asset matches its stored hash.
HashValidator() - Constructor for class com.scalar.dl.ledger.validation.HashValidator
 
hasWriteSet() - Method in class com.scalar.dl.ledger.database.Snapshot
 

I

id() - Method in interface com.scalar.dl.ledger.asset.Asset
Deprecated.
Returns an ID of the asset.
id(String) - Method in class com.scalar.dl.ledger.asset.AssetHasher.Builder
 
id() - Method in class com.scalar.dl.ledger.asset.MetadataComprisedAsset
Deprecated.
 
ID - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
id(String) - Method in class com.scalar.dl.ledger.database.AssetRecord.Builder
 
ID - Static variable in class com.scalar.dl.ledger.database.AssetRecord
 
id() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
ID - Static variable in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
ID - Static variable in class com.scalar.dl.ledger.function.FunctionEntry
 
id() - Method in interface com.scalar.dl.ledger.statemachine.Asset
Returns an ID of the asset.
id() - Method in interface com.scalar.dl.ledger.statemachine.AssetInput.AssetIdAge
 
id() - Method in class com.scalar.dl.ledger.statemachine.MetadataComprisedAsset
 
initialize(ContractManager, ClientIdentityKey) - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
initialize() - Method in interface com.scalar.dl.ledger.validation.LedgerValidator
 
initialize() - Method in class com.scalar.dl.ledger.validation.NonceValidator
 
initialize() - Method in class com.scalar.dl.ledger.validation.PrevHashValidator
 
initialize(byte[]) - Method in class com.scalar.dl.ledger.validation.PrevHashValidator
 
input(String) - Method in class com.scalar.dl.ledger.asset.AssetHasher.Builder
 
input() - Method in interface com.scalar.dl.ledger.asset.AssetMetadata
Deprecated.
Returns the json-formatted input dependencies of the asset.
input(String) - Method in class com.scalar.dl.ledger.database.AssetRecord.Builder
 
INPUT - Static variable in class com.scalar.dl.ledger.database.AssetRecord
 
input() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
INPUT - Static variable in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
input() - Method in interface com.scalar.dl.ledger.statemachine.AssetMetadata
Returns the json-formatted input dependencies of the asset.
inputs - Variable in class com.scalar.dl.ledger.validation.LedgerTracerBase
 
InvalidFunctionException - Exception in com.scalar.dl.ledger.exception
 
InvalidFunctionException(String) - Constructor for exception com.scalar.dl.ledger.exception.InvalidFunctionException
 
InvalidFunctionException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.InvalidFunctionException
 
invoke(Ledger, JsonObject, Optional<JsonObject>) - Method in class com.scalar.dl.ledger.contract.Contract
Deprecated.
Invokes the contract to Ledger with the specified argument and the pre-registered contract properties.
invoke(String, Ledger, JsonObject) - Method in class com.scalar.dl.ledger.contract.Contract
Deprecated.
Invokes the specified contract to Ledger with the specified argument.
invoke(Ledger<T>, String, String) - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
invoke(Database, Optional<JsonObject>, JsonObject, Optional<JsonObject>) - Method in class com.scalar.dl.ledger.function.Function
Deprecated.
Invokes the function to Database with the specified argument and the corresponding root contract argument and properties.
invoke(String, Database, Optional<JsonObject>, JsonObject, Optional<JsonObject>) - Method in class com.scalar.dl.ledger.function.Function
Deprecated.
 
invoke(Database<G, S, P, D, R>, String, String, String) - Method in class com.scalar.dl.ledger.function.FunctionMachine
 
isAuditorEnabled() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
isDirectAssetAccessEnabled() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
isEmpty() - Method in class com.scalar.dl.ledger.database.Snapshot
 
isEmpty() - Method in class com.scalar.dl.ledger.statemachine.AssetInput
 
isEndInclusive() - Method in class com.scalar.dl.ledger.database.AssetFilter
Returns the boundary condition of the end age.
isFunctionEnabled() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
isNonceTxidEnabled() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
isProofEnabled() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
isRoot() - Method in class com.scalar.dl.ledger.contract.Contract
Deprecated.
 
isRoot() - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
isRoot() - Method in class com.scalar.dl.ledger.function.FunctionMachine
 
isServerTlsEnabled() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
isStartInclusive() - Method in class com.scalar.dl.ledger.database.AssetFilter
Returns the boundary condition of the start age.
isTxStateManagementEnabled() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
iterator() - Method in class com.scalar.dl.ledger.statemachine.AssetInput
 

J

JacksonBasedAssetLedger - Class in com.scalar.dl.ledger.statemachine
 
JacksonBasedAssetLedger(TamperEvidentAssetLedger) - Constructor for class com.scalar.dl.ledger.statemachine.JacksonBasedAssetLedger
 
JacksonBasedContract - Class in com.scalar.dl.ledger.contract
A base contract using Jackson for the Ledger data, invoke method arguments, and invoke method return type.
JacksonBasedContract() - Constructor for class com.scalar.dl.ledger.contract.JacksonBasedContract
 
JacksonBasedFunction - Class in com.scalar.dl.ledger.function
A base function using Jackson for the invoke method arguments and invoke method return type.
JacksonBasedFunction() - Constructor for class com.scalar.dl.ledger.function.JacksonBasedFunction
 
JacksonBasedLedgerTracer - Class in com.scalar.dl.ledger.validation
 
JacksonBasedLedgerTracer(AssetScanner) - Constructor for class com.scalar.dl.ledger.validation.JacksonBasedLedgerTracer
 
JsonpBasedAssetLedger - Class in com.scalar.dl.ledger.statemachine
 
JsonpBasedAssetLedger(TamperEvidentAssetLedger) - Constructor for class com.scalar.dl.ledger.statemachine.JsonpBasedAssetLedger
 
JsonpBasedContract - Class in com.scalar.dl.ledger.contract
A base contract using JSONP for the Ledger data, invoke method arguments, and invoke method return type.
JsonpBasedContract() - Constructor for class com.scalar.dl.ledger.contract.JsonpBasedContract
 
JsonpBasedFunction - Class in com.scalar.dl.ledger.function
A base function using JSONP for the invoke method arguments and invoke method return type.
JsonpBasedFunction() - Constructor for class com.scalar.dl.ledger.function.JsonpBasedFunction
 
JsonpBasedLedgerTracer - Class in com.scalar.dl.ledger.validation
 
JsonpBasedLedgerTracer(AssetScanner) - Constructor for class com.scalar.dl.ledger.validation.JsonpBasedLedgerTracer
 

K

Key(String, ClientIdentityKey) - Constructor for class com.scalar.dl.ledger.contract.ContractEntry.Key
 
Key(String, String, int) - Constructor for class com.scalar.dl.ledger.contract.ContractEntry.Key
 
Key(String, int) - Constructor for class com.scalar.dl.ledger.crypto.CertificateEntry.Key
 
Key(String, int) - Constructor for class com.scalar.dl.ledger.crypto.SecretEntry.Key
 
Key(String, int) - Constructor for class com.scalar.dl.ledger.database.AssetRecord.Key
 
KEY_VERSION - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
KEY_VERSION - Static variable in class com.scalar.dl.ledger.crypto.SecretEntry
 

L

Ledger - Interface in com.scalar.dl.ledger.database
Deprecated.
This class won't be available to users in release 5.0.0.
Ledger<T> - Interface in com.scalar.dl.ledger.statemachine
A tamper-evident ledger for storing histories of Assets.
LedgerConfig - Class in com.scalar.dl.ledger.config
 
LedgerConfig(File) - Constructor for class com.scalar.dl.ledger.config.LedgerConfig
 
LedgerConfig(InputStream) - Constructor for class com.scalar.dl.ledger.config.LedgerConfig
 
LedgerConfig(Properties) - Constructor for class com.scalar.dl.ledger.config.LedgerConfig
 
LedgerModule - Class in com.scalar.dl.ledger.service
 
LedgerModule(LedgerConfig) - Constructor for class com.scalar.dl.ledger.service.LedgerModule
 
LedgerPrivilegedService - Class in com.scalar.dl.ledger.server
 
LedgerPrivilegedService(LedgerService, CommonService) - Constructor for class com.scalar.dl.ledger.server.LedgerPrivilegedService
 
LedgerServer - Class in com.scalar.dl.ledger.server
 
LedgerServer() - Constructor for class com.scalar.dl.ledger.server.LedgerServer
 
LedgerServerModule - Class in com.scalar.dl.ledger.server
 
LedgerServerModule(LedgerConfig) - Constructor for class com.scalar.dl.ledger.server.LedgerServerModule
 
LedgerService - Class in com.scalar.dl.ledger.server
 
LedgerService(LedgerService, LedgerValidationService, CommonService, LedgerConfig) - Constructor for class com.scalar.dl.ledger.server.LedgerService
 
LedgerService - Class in com.scalar.dl.ledger.service
 
LedgerService(BaseService, LedgerConfig, ClientKeyValidator, AuditorKeyValidator, ContractExecutor, FunctionManager) - Constructor for class com.scalar.dl.ledger.service.LedgerService
 
LedgerTracer - Class in com.scalar.dl.ledger.validation
An implementation of Ledger that is used for validation.
LedgerTracer(AssetScanner) - Constructor for class com.scalar.dl.ledger.validation.LedgerTracer
 
LedgerTracerBase<T> - Class in com.scalar.dl.ledger.validation
An implementation of Ledger that is used for validation.
LedgerTracerBase() - Constructor for class com.scalar.dl.ledger.validation.LedgerTracerBase
 
LedgerTracerManager - Interface in com.scalar.dl.ledger.validation
 
LedgerValidationRequest - Class in com.scalar.dl.ledger.model
 
LedgerValidationRequest(String, int, int, String, int, byte[]) - Constructor for class com.scalar.dl.ledger.model.LedgerValidationRequest
Constructs a LedgerValidationRequest with the specified asset id, entity ID, key version, signature of the request, and client-side proof.
LedgerValidationService - Class in com.scalar.dl.ledger.service
 
LedgerValidationService(LedgerConfig, TransactionManager, ClientKeyValidator, ContractManager, AssetProofComposer) - Constructor for class com.scalar.dl.ledger.service.LedgerValidationService
 
LedgerValidator - Interface in com.scalar.dl.ledger.validation
An abstraction for validators.
list(ContractsListingRequest) - Method in class com.scalar.dl.ledger.service.BaseService
 
list(ContractsListingRequest) - Method in class com.scalar.dl.ledger.service.LedgerService
 
listContracts(ContractsListingRequest, StreamObserver<ContractsListingResponse>) - Method in class com.scalar.dl.ledger.server.LedgerService
 
logError(String, Object, Object) - Method in interface com.scalar.dl.ledger.validation.LedgerValidator
 
lookup(CertificateEntry.Key) - Method in interface com.scalar.dl.ledger.database.CertificateRegistry
 
lookup(ContractEntry.Key) - Method in interface com.scalar.dl.ledger.database.ContractRegistry
 
lookup(String) - Method in interface com.scalar.dl.ledger.database.FunctionRegistry
 
lookup(CertificateEntry.Key) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarCertificateRegistry
 
lookup(ContractEntry.Key) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractRegistry
 
lookup(String) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarFunctionRegistry
 
lookup(SecretEntry.Key) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarSecretRegistry
 
lookup(SecretEntry.Key) - Method in interface com.scalar.dl.ledger.database.SecretRegistry
 

M

main(String[]) - Static method in class com.scalar.dl.ledger.server.LedgerServer
 
metadata() - Method in interface com.scalar.dl.ledger.asset.Asset
Deprecated.
Returns the metadata with AssetMetadata of the asset.
metadata() - Method in class com.scalar.dl.ledger.asset.MetadataComprisedAsset
Deprecated.
 
metadata() - Method in interface com.scalar.dl.ledger.statemachine.Asset
Returns the metadata with AssetMetadata of the asset.
metadata() - Method in class com.scalar.dl.ledger.statemachine.MetadataComprisedAsset
 
MetadataComprisedAsset - Class in com.scalar.dl.ledger.asset
Deprecated.
MetadataComprisedAsset(InternalAsset, Function<String, JsonObject>) - Constructor for class com.scalar.dl.ledger.asset.MetadataComprisedAsset
Deprecated.
 
MetadataComprisedAsset<T> - Class in com.scalar.dl.ledger.statemachine
 
MetadataComprisedAsset(InternalAsset, Function<String, T>) - Constructor for class com.scalar.dl.ledger.statemachine.MetadataComprisedAsset
 
MissingCertificateException - Exception in com.scalar.dl.ledger.exception
 
MissingCertificateException(String) - Constructor for exception com.scalar.dl.ledger.exception.MissingCertificateException
 
MissingCertificateException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.MissingCertificateException
 
MissingContractException - Exception in com.scalar.dl.ledger.exception
 
MissingContractException(String) - Constructor for exception com.scalar.dl.ledger.exception.MissingContractException
 
MissingContractException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.MissingContractException
 
MissingFunctionException - Exception in com.scalar.dl.ledger.exception
 
MissingFunctionException(String) - Constructor for exception com.scalar.dl.ledger.exception.MissingFunctionException
 
MissingFunctionException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.MissingFunctionException
 
MutableDatabase<G,S,P,D,R> - Interface in com.scalar.dl.ledger.database
A mutable database abstraction.

N

NAME - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.name (Optional)
Name of ledger ("Scalar Ledger" by default).
NAMESPACE - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.namespace (Optional)
Namespace of ledger tables ("scalar" by default)
newBuilder() - Static method in class com.scalar.dl.ledger.database.AssetRecord
 
newBuilder(AssetRecord) - Static method in class com.scalar.dl.ledger.database.AssetRecord
 
nonce() - Method in interface com.scalar.dl.ledger.asset.AssetMetadata
Deprecated.
Returns the nonce of the request that created the asset.
nonce(String) - Method in class com.scalar.dl.ledger.database.AssetRecord.Builder
 
NONCE - Static variable in class com.scalar.dl.ledger.database.AssetRecord
 
nonce() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
nonce() - Method in interface com.scalar.dl.ledger.statemachine.AssetMetadata
Returns the nonce of the request that created the asset.
NONCE_TXID_ENABLED - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.nonce_txid.enabled
A flag to use nonce as a transaction ID (true by default).
NonceValidator - Class in com.scalar.dl.ledger.validation
A validator to determine whether a nonce is used more than once.
NonceValidator() - Constructor for class com.scalar.dl.ledger.validation.NonceValidator
 

O

output(String) - Method in class com.scalar.dl.ledger.asset.AssetHasher.Builder
 
OUTPUT - Static variable in class com.scalar.dl.ledger.database.AssetRecord
 
OUTPUT - Static variable in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
outputs - Variable in class com.scalar.dl.ledger.validation.LedgerTracerBase
 
OutputValidator - Class in com.scalar.dl.ledger.validation
A validator to determine whether the recomputed output of a contract execution is consistent with its stored result.
OutputValidator() - Constructor for class com.scalar.dl.ledger.validation.OutputValidator
 

P

pause(PauseRequest, StreamObserver<Empty>) - Method in class com.scalar.dl.ledger.server.AdminService
 
PEM - Static variable in class com.scalar.dl.ledger.crypto.CertificateEntry
 
PREV_HASH - Static variable in class com.scalar.dl.ledger.database.AssetRecord
 
PREV_HASH - Static variable in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
prevHash(byte[]) - Method in class com.scalar.dl.ledger.asset.AssetHasher.Builder
 
prevHash() - Method in interface com.scalar.dl.ledger.asset.AssetMetadata
Deprecated.
Returns the previous hash of the asset record.
prevHash(byte[]) - Method in class com.scalar.dl.ledger.database.AssetRecord.Builder
 
prevHash() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
prevHash() - Method in interface com.scalar.dl.ledger.statemachine.AssetMetadata
Returns the previous hash of the asset record.
PrevHashValidator - Class in com.scalar.dl.ledger.validation
A validator to determine whether prevHash of the current asset is equal to hash of the previous asset (same asset id but with age - 1)
PrevHashValidator() - Constructor for class com.scalar.dl.ledger.validation.PrevHashValidator
 
PROOF_ENABLED - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.proof.enabled
A flag to enable asset proof that is used to verify assets (false by default).
PROOF_PRIVATE_KEY_PATH - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.proof.private_key_path
The path of a private key file in PEM format.
PROOF_PRIVATE_KEY_PEM - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.proof.private_key_pem
PEM-encoded private key data.
proofComposer - Variable in class com.scalar.dl.ledger.service.ValidationService
 
PROPERTIES - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
properties - Variable in class com.scalar.dl.ledger.server.LedgerServer
 
put(String, JsonObject) - Method in class com.scalar.dl.ledger.database.AssetLedger
 
put(P) - Method in interface com.scalar.dl.ledger.database.Database
 
put(String, JsonObject) - Method in interface com.scalar.dl.ledger.database.Ledger
Deprecated.
Creates/Appends an Asset entry to the ledger.
put(Put) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarMutableDatabase
 
put(String, String) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarTamperEvidentAssetLedger
 
put(String, InternalAsset) - Method in class com.scalar.dl.ledger.database.Snapshot
 
put(String, String) - Method in class com.scalar.dl.ledger.database.Snapshot
 
put(String, String) - Method in interface com.scalar.dl.ledger.database.TamperEvidentAssetLedger
 
put(String, JsonObject) - Method in class com.scalar.dl.ledger.statemachine.DeprecatedLedger
 
put(String, JsonNode) - Method in class com.scalar.dl.ledger.statemachine.JacksonBasedAssetLedger
 
put(String, JsonObject) - Method in class com.scalar.dl.ledger.statemachine.JsonpBasedAssetLedger
 
put(String, T) - Method in interface com.scalar.dl.ledger.statemachine.Ledger
Creates/Appends an Asset entry to the ledger.
put(String, String) - Method in class com.scalar.dl.ledger.statemachine.StringBasedAssetLedger
 
put(String, JsonObject) - Method in class com.scalar.dl.ledger.validation.DeprecatedLedgerTracer
 
put(String, JsonObject) - Method in class com.scalar.dl.ledger.validation.LedgerTracer
 
put(String, T) - Method in class com.scalar.dl.ledger.validation.LedgerTracerBase
 
putAbort(String) - Method in class com.scalar.dl.ledger.database.scalardb.TransactionStateManager
 
putCommit(DistributedTransaction, String) - Method in class com.scalar.dl.ledger.database.scalardb.TransactionStateManager
 

R

recover(Map<String, Integer>) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarTransactionManager
 
recover(Map<String, Integer>) - Method in interface com.scalar.dl.ledger.database.TransactionManager
 
register(ContractEntry) - Method in class com.scalar.dl.ledger.contract.ContractManager
register(CertificateEntry) - Method in class com.scalar.dl.ledger.crypto.CertificateManager
Stores the specified CertificateEntry in a CertificateRegistry.
register(SecretEntry) - Method in class com.scalar.dl.ledger.crypto.SecretManager
Stores the specified SecretEntry in a SecretRegistry.
register(FunctionEntry) - Method in class com.scalar.dl.ledger.function.FunctionManager
 
register(CertificateRegistrationRequest) - Method in class com.scalar.dl.ledger.service.BaseService
 
register(SecretEntry) - Method in class com.scalar.dl.ledger.service.BaseService
 
register(ContractRegistrationRequest) - Method in class com.scalar.dl.ledger.service.BaseService
 
register(CertificateRegistrationRequest) - Method in class com.scalar.dl.ledger.service.LedgerService
 
register(SecretEntry) - Method in class com.scalar.dl.ledger.service.LedgerService
 
register(FunctionRegistrationRequest) - Method in class com.scalar.dl.ledger.service.LedgerService
 
register(ContractRegistrationRequest) - Method in class com.scalar.dl.ledger.service.LedgerService
 
registerCert(CertificateRegistrationRequest, StreamObserver<Empty>) - Method in class com.scalar.dl.ledger.server.LedgerPrivilegedService
 
registerContract(ContractRegistrationRequest, StreamObserver<Empty>) - Method in class com.scalar.dl.ledger.server.LedgerService
 
REGISTERED_AT - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
REGISTERED_AT - Static variable in class com.scalar.dl.ledger.crypto.CertificateEntry
 
REGISTERED_AT - Static variable in class com.scalar.dl.ledger.crypto.SecretEntry
 
REGISTERED_AT - Static variable in class com.scalar.dl.ledger.function.FunctionEntry
 
registerFunction(FunctionRegistrationRequest, StreamObserver<Empty>) - Method in class com.scalar.dl.ledger.server.LedgerPrivilegedService
 
registerSecret(SecretRegistrationRequest, StreamObserver<Empty>) - Method in class com.scalar.dl.ledger.server.LedgerPrivilegedService
 
retrieve(StateRetrievalRequest) - Method in class com.scalar.dl.ledger.service.LedgerService
 
retrieve(AssetProofRetrievalRequest) - Method in class com.scalar.dl.ledger.service.LedgerValidationService
 
retrieveAssetProof(AssetProofRetrievalRequest, StreamObserver<AssetProofRetrievalResponse>) - Method in class com.scalar.dl.ledger.server.LedgerService
 
retrieveState(StateRetrievalRequest, StreamObserver<StateRetrievalResponse>) - Method in class com.scalar.dl.ledger.server.LedgerPrivilegedService
 

S

ScalarCertificateRegistry - Class in com.scalar.dl.ledger.database.scalardb
 
ScalarCertificateRegistry(DistributedStorage) - Constructor for class com.scalar.dl.ledger.database.scalardb.ScalarCertificateRegistry
 
ScalarContractEntry - Class in com.scalar.dl.ledger.database.scalardb
 
ScalarContractEntry(ContractEntry) - Constructor for class com.scalar.dl.ledger.database.scalardb.ScalarContractEntry
 
ScalarContractRegistry - Class in com.scalar.dl.ledger.database.scalardb
 
ScalarContractRegistry(DistributedStorage) - Constructor for class com.scalar.dl.ledger.database.scalardb.ScalarContractRegistry
 
ScalarFunctionEntry - Class in com.scalar.dl.ledger.database.scalardb
 
ScalarFunctionEntry(FunctionEntry) - Constructor for class com.scalar.dl.ledger.database.scalardb.ScalarFunctionEntry
 
ScalarFunctionRegistry - Class in com.scalar.dl.ledger.database.scalardb
 
ScalarFunctionRegistry(DistributedStorage) - Constructor for class com.scalar.dl.ledger.database.scalardb.ScalarFunctionRegistry
 
ScalarMutableDatabase - Class in com.scalar.dl.ledger.database.scalardb
 
ScalarMutableDatabase(DistributedTransaction) - Constructor for class com.scalar.dl.ledger.database.scalardb.ScalarMutableDatabase
 
ScalarSecretRegistry - Class in com.scalar.dl.ledger.database.scalardb
 
ScalarSecretRegistry(DistributedStorage, Cipher) - Constructor for class com.scalar.dl.ledger.database.scalardb.ScalarSecretRegistry
 
ScalarTamperEvidentAssetLedger - Class in com.scalar.dl.ledger.database.scalardb
 
ScalarTamperEvidentAssetLedger(DistributedTransaction, ScalarTamperEvidentAssetLedger.Metadata, Snapshot, ContractExecutionRequest, TamperEvidentAssetComposer, AssetProofComposer, TransactionStateManager, LedgerConfig) - Constructor for class com.scalar.dl.ledger.database.scalardb.ScalarTamperEvidentAssetLedger
 
ScalarTransactionManager - Class in com.scalar.dl.ledger.database.scalardb
 
ScalarTransactionManager(DistributedTransactionManager, TamperEvidentAssetComposer, AssetProofComposer, TransactionStateManager, LedgerConfig) - Constructor for class com.scalar.dl.ledger.database.scalardb.ScalarTransactionManager
 
scan(String, int) - Method in class com.scalar.dl.ledger.contract.ContractManager
Returns a list of all the ContractEntrys of a specific version registered by a specified entity id.
scan(String, int) - Method in class com.scalar.dl.ledger.contract.ContractScanner
 
scan(String, int, Optional<String>) - Method in class com.scalar.dl.ledger.contract.ContractScanner
 
scan(AssetFilter) - Method in class com.scalar.dl.ledger.database.AssetLedger
 
scan(String) - Method in interface com.scalar.dl.ledger.database.ContractRegistry
 
scan(String, int) - Method in interface com.scalar.dl.ledger.database.ContractRegistry
 
scan(S) - Method in interface com.scalar.dl.ledger.database.Database
 
scan(AssetFilter) - Method in interface com.scalar.dl.ledger.database.Ledger
Deprecated.
Retrieves a list of Asset entries from the ledger with the specified AssetFilter.
scan(String) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractRegistry
 
scan(String, int) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractRegistry
 
scan(Scan) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarMutableDatabase
 
scan(AssetFilter) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarTamperEvidentAssetLedger
 
scan(AssetFilter) - Method in interface com.scalar.dl.ledger.database.TamperEvidentAssetLedger
 
scan(AssetFilter) - Method in class com.scalar.dl.ledger.statemachine.DeprecatedLedger
 
scan(AssetFilter) - Method in class com.scalar.dl.ledger.statemachine.JacksonBasedAssetLedger
 
scan(AssetFilter) - Method in class com.scalar.dl.ledger.statemachine.JsonpBasedAssetLedger
 
scan(AssetFilter) - Method in interface com.scalar.dl.ledger.statemachine.Ledger
Retrieves a list of Asset entries from the ledger with the specified AssetFilter.
scan(AssetFilter) - Method in class com.scalar.dl.ledger.statemachine.StringBasedAssetLedger
 
scan(AssetFilter) - Method in class com.scalar.dl.ledger.validation.DeprecatedLedgerTracer
 
scan(AssetFilter) - Method in class com.scalar.dl.ledger.validation.JacksonBasedLedgerTracer
 
scan(AssetFilter) - Method in class com.scalar.dl.ledger.validation.JsonpBasedLedgerTracer
 
scan(AssetFilter) - Method in class com.scalar.dl.ledger.validation.LedgerTracer
 
scan(AssetFilter) - Method in class com.scalar.dl.ledger.validation.StringBasedLedgerTracer
 
SECRET_KEY - Static variable in class com.scalar.dl.ledger.crypto.SecretEntry
 
SecretEntry - Class in com.scalar.dl.ledger.crypto
Container for a registered HMAC secret key and metadata about the secret key.
SecretEntry(String, int, String, long) - Constructor for class com.scalar.dl.ledger.crypto.SecretEntry
Constructs a SecretEntry with the specified entity ID, secret key version, secret key, and time the secret was registered at.
SecretEntry.Key - Class in com.scalar.dl.ledger.crypto
 
SecretManager - Class in com.scalar.dl.ledger.crypto
A manager used to store and retrieve SecretEntrys from a SecretRegistry.
SecretManager(SecretRegistry) - Constructor for class com.scalar.dl.ledger.crypto.SecretManager
Constructs a SecretManager with the specified SecretRegistry.
SecretManager(SecretRegistry, Cache<SecretEntry.Key, HmacValidator>, Cache<String, HmacValidator>) - Constructor for class com.scalar.dl.ledger.crypto.SecretManager
 
SecretRegistry - Interface in com.scalar.dl.ledger.database
 
serialize() - Method in class com.scalar.dl.ledger.contract.ContractEntry.Key
 
serialize(String, int, String, int) - Static method in class com.scalar.dl.ledger.model.AssetProofRetrievalRequest
 
serialize(String, String, String, int) - Static method in class com.scalar.dl.ledger.model.ContractExecutionRequest
 
serialize(String, String, byte[], String, String, int) - Static method in class com.scalar.dl.ledger.model.ContractRegistrationRequest
 
serialize(Optional<String>, String, int) - Static method in class com.scalar.dl.ledger.model.ContractsListingRequest
 
serialize(String, String, int) - Static method in class com.scalar.dl.ledger.model.ExecutionAbortRequest
 
serialize(String, int, int, String, int) - Static method in class com.scalar.dl.ledger.model.LedgerValidationRequest
 
SERVER_ADMIN_PORT - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.server.admin_port
Server admin port (50053 by default).
SERVER_DECOMMISSIONING_DURATION_SECS - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.server.decommissioning_duration_secs (Optional)
Decommissioning duration (30 seconds by default) where the servers are running but returning NOT_SERVING to a gRPC health check request.
SERVER_GRPC_MAX_INBOUND_MESSAGE_SIZE - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.server.grpc.max_inbound_message_size (Optional)
The maximum message size allowed for a single gRPC frame.
SERVER_GRPC_MAX_INBOUND_METADATA_SIZE - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.server.grpc.max_inbound_metadata_size (Optional)
The maximum size of metadata allowed to be received.
SERVER_PORT - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.server.port
Server port (50051 by default).
SERVER_PRIVILEGED_PORT - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.server.privileged_port
Server privileged port (50052 by default).
SERVER_PROMETHEUS_EXPORTER_PORT - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.server.prometheus_exporter_port
Prometheus exporter port (8080 by default).
SERVER_TLS_CERT_CHAIN_PATH - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.server.tls.cert_chain_path
Certificate chain file used for TLS communication.
SERVER_TLS_ENABLED - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.server.tls.enabled
A flag to enable TLS between clients and servers (false by default).
SERVER_TLS_PRIVATE_KEY_PATH - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.server.tls.private_key_path
Private key file used for TLS communication.
SERVERS_AUTHENTICATION_HMAC_SECRET_KEY - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.servers.authentication.hmac.secret_key
A secret key of HMAC for the authentication of messages between (Ledger and Auditor) servers.
setContractContext(Object) - Method in class com.scalar.dl.ledger.function.FunctionMachine
 
setInput(String) - Method in class com.scalar.dl.ledger.validation.DeprecatedLedgerTracer
 
setInput(String, InternalAsset) - Method in class com.scalar.dl.ledger.validation.DeprecatedLedgerTracer
 
setInput(String) - Method in class com.scalar.dl.ledger.validation.JacksonBasedLedgerTracer
 
setInput(String, InternalAsset) - Method in class com.scalar.dl.ledger.validation.JacksonBasedLedgerTracer
 
setInput(String) - Method in class com.scalar.dl.ledger.validation.JsonpBasedLedgerTracer
 
setInput(String, InternalAsset) - Method in class com.scalar.dl.ledger.validation.JsonpBasedLedgerTracer
 
setInput(JsonObject) - Method in class com.scalar.dl.ledger.validation.LedgerTracer
 
setInput(String, InternalAsset) - Method in class com.scalar.dl.ledger.validation.LedgerTracer
 
setInput(String) - Method in class com.scalar.dl.ledger.validation.LedgerTracerBase
 
setInput(String, InternalAsset) - Method in class com.scalar.dl.ledger.validation.LedgerTracerBase
 
setInput(String) - Method in class com.scalar.dl.ledger.validation.StringBasedLedgerTracer
 
setInput(String, InternalAsset) - Method in class com.scalar.dl.ledger.validation.StringBasedLedgerTracer
 
setRoot(boolean) - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
signature(byte[]) - Method in class com.scalar.dl.ledger.asset.AssetHasher.Builder
 
SIGNATURE - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
signature(byte[]) - Method in class com.scalar.dl.ledger.database.AssetRecord.Builder
 
SIGNATURE - Static variable in class com.scalar.dl.ledger.database.AssetRecord
 
signature() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
SIGNATURE - Static variable in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
size() - Method in class com.scalar.dl.ledger.statemachine.AssetInput
 
Snapshot - Class in com.scalar.dl.ledger.database
 
Snapshot() - Constructor for class com.scalar.dl.ledger.database.Snapshot
 
start(DeserializationType) - Method in interface com.scalar.dl.ledger.validation.LedgerTracerManager
 
start(DeserializationType) - Method in class com.scalar.dl.ledger.validation.TransactionScannableLedgerTracerManager
 
startWith(ContractExecutionRequest) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarTransactionManager
 
startWith() - Method in class com.scalar.dl.ledger.database.scalardb.ScalarTransactionManager
 
startWith(ContractExecutionRequest) - Method in interface com.scalar.dl.ledger.database.TransactionManager
 
startWith() - Method in interface com.scalar.dl.ledger.database.TransactionManager
 
StateRetrievalRequest - Class in com.scalar.dl.ledger.model
 
StateRetrievalRequest(String) - Constructor for class com.scalar.dl.ledger.model.StateRetrievalRequest
 
StateRetrievalResult - Class in com.scalar.dl.ledger.model
 
StateRetrievalResult(TransactionState) - Constructor for class com.scalar.dl.ledger.model.StateRetrievalResult
 
StringBasedAssetLedger - Class in com.scalar.dl.ledger.statemachine
 
StringBasedAssetLedger(TamperEvidentAssetLedger) - Constructor for class com.scalar.dl.ledger.statemachine.StringBasedAssetLedger
 
StringBasedContract - Class in com.scalar.dl.ledger.contract
A base contract using the internal String representation as it is for the Ledger data, invoke method arguments, and invoke method return type.
StringBasedContract() - Constructor for class com.scalar.dl.ledger.contract.StringBasedContract
 
StringBasedFunction - Class in com.scalar.dl.ledger.function
A base function using the internal String representation as it is for the invoke method arguments, and invoke method return type.
StringBasedFunction() - Constructor for class com.scalar.dl.ledger.function.StringBasedFunction
 
StringBasedLedgerTracer - Class in com.scalar.dl.ledger.validation
 
StringBasedLedgerTracer(AssetScanner) - Constructor for class com.scalar.dl.ledger.validation.StringBasedLedgerTracer
 

T

TamperEvidentAssetComposer - Interface in com.scalar.dl.ledger.database.scalardb
 
TamperEvidentAssetLedger - Interface in com.scalar.dl.ledger.database
 
toAgeValue(int) - Static method in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
toArgumentValue(String) - Static method in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
toContactIdValue(String) - Static method in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
toHashValue(byte[]) - Static method in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
toIdValue(String) - Static method in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
toInputValue(String) - Static method in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
toOutputValue(String) - Static method in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
toPrevHashValue(byte[]) - Static method in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
toSignatureValue(byte[]) - Static method in class com.scalar.dl.ledger.database.scalardb.AssetAttribute
 
toString() - Method in class com.scalar.dl.ledger.config.LedgerConfig
 
toString() - Method in class com.scalar.dl.ledger.database.AssetRecord
 
toString() - Method in class com.scalar.dl.ledger.statemachine.AssetInput
 
Transaction - Class in com.scalar.dl.ledger.database
 
Transaction(TamperEvidentAssetLedger, MutableDatabase<?, ?, ?, ?, ?>) - Constructor for class com.scalar.dl.ledger.database.Transaction
 
TransactionAssetScanner - Class in com.scalar.dl.ledger.database.scalardb
 
TransactionAssetScanner(TransactionManager) - Constructor for class com.scalar.dl.ledger.database.scalardb.TransactionAssetScanner
 
TransactionManager - Interface in com.scalar.dl.ledger.database
 
TransactionScannableLedgerTracerManager - Class in com.scalar.dl.ledger.validation
 
TransactionScannableLedgerTracerManager(TransactionManager) - Constructor for class com.scalar.dl.ledger.validation.TransactionScannableLedgerTracerManager
 
TransactionStateManager - Class in com.scalar.dl.ledger.database.scalardb
 
TransactionStateManager(DistributedTransactionManager) - Constructor for class com.scalar.dl.ledger.database.scalardb.TransactionStateManager
 
TX_STATE_MANAGEMENT_ENABLED - Static variable in class com.scalar.dl.ledger.config.LedgerConfig
scalar.dl.ledger.tx_state_management.enabled
A flag to manage transaction states by Ledger (false by default).
TypeConverter - Class in com.scalar.dl.ledger.server
 
TypeConverter() - Constructor for class com.scalar.dl.ledger.server.TypeConverter
 

U

unbind(CertificateEntry.Key) - Method in interface com.scalar.dl.ledger.database.CertificateRegistry
 
unbind(ContractEntry.Key) - Method in interface com.scalar.dl.ledger.database.ContractRegistry
 
unbind(String) - Method in interface com.scalar.dl.ledger.database.FunctionRegistry
 
unbind(CertificateEntry.Key) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarCertificateRegistry
 
unbind(ContractEntry.Key) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarContractRegistry
 
unbind(String) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarFunctionRegistry
 
unbind(SecretEntry.Key) - Method in class com.scalar.dl.ledger.database.scalardb.ScalarSecretRegistry
 
unbind(SecretEntry.Key) - Method in interface com.scalar.dl.ledger.database.SecretRegistry
 
UnknownTransactionStatusException - Exception in com.scalar.dl.ledger.exception
 
UnknownTransactionStatusException(String) - Constructor for exception com.scalar.dl.ledger.exception.UnknownTransactionStatusException
 
UnknownTransactionStatusException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.UnknownTransactionStatusException
 
UnknownTransactionStatusException(String, Throwable, String) - Constructor for exception com.scalar.dl.ledger.exception.UnknownTransactionStatusException
 
UnloadableContractException - Exception in com.scalar.dl.ledger.exception
 
UnloadableContractException(String) - Constructor for exception com.scalar.dl.ledger.exception.UnloadableContractException
 
UnloadableContractException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.UnloadableContractException
 
UnloadableFunctionException - Exception in com.scalar.dl.ledger.exception
 
UnloadableFunctionException(String) - Constructor for exception com.scalar.dl.ledger.exception.UnloadableFunctionException
 
UnloadableFunctionException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.UnloadableFunctionException
 
unpause(Empty, StreamObserver<Empty>) - Method in class com.scalar.dl.ledger.server.AdminService
 

V

validate(LedgerValidationRequest) - Method in class com.scalar.dl.ledger.service.LedgerValidationService
 
validate(LedgerValidationRequest) - Method in class com.scalar.dl.ledger.service.ValidationService
 
validate(Ledger<?>, ContractMachine, InternalAsset) - Method in class com.scalar.dl.ledger.validation.ContractValidator
 
validate(Ledger<?>, ContractMachine, InternalAsset) - Method in class com.scalar.dl.ledger.validation.HashValidator
 
validate(Ledger<?>, ContractMachine, InternalAsset) - Method in interface com.scalar.dl.ledger.validation.LedgerValidator
 
validate(Ledger<?>, ContractMachine, InternalAsset) - Method in class com.scalar.dl.ledger.validation.NonceValidator
 
validate(Ledger<?>, ContractMachine, InternalAsset) - Method in class com.scalar.dl.ledger.validation.OutputValidator
 
validate(Ledger<?>, ContractMachine, InternalAsset) - Method in class com.scalar.dl.ledger.validation.PrevHashValidator
 
validateAuditorSignatureWith(SignatureValidator) - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Validates if the signature from an auditor is not tampered
validateEach(List<LedgerValidator>, InternalAsset) - Method in class com.scalar.dl.ledger.service.ValidationService
 
validateInit() - Method in class com.scalar.dl.ledger.service.ValidationService
 
validateLedger(LedgerValidationRequest, StreamObserver<LedgerValidationResponse>) - Method in class com.scalar.dl.ledger.server.LedgerService
 
validateWith(SignatureValidator) - Method in class com.scalar.dl.ledger.model.AbstractRequest
 
validateWith(SignatureValidator) - Method in class com.scalar.dl.ledger.model.AssetProofRetrievalRequest
Validates if the request is not tampered.
validateWith(SignatureValidator) - Method in class com.scalar.dl.ledger.model.CertificateRegistrationRequest
 
validateWith(SignatureValidator) - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Validates if the request is not tampered.
validateWith(SignatureValidator) - Method in class com.scalar.dl.ledger.model.ContractRegistrationRequest
Validates if the request is not tampered.
validateWith(SignatureValidator) - Method in class com.scalar.dl.ledger.model.ContractsListingRequest
Validates if the request is not tampered.
validateWith(SignatureValidator) - Method in class com.scalar.dl.ledger.model.ExecutionAbortRequest
Validates if the request is not tampered.
validateWith(SignatureValidator) - Method in class com.scalar.dl.ledger.model.LedgerValidationRequest
Validates if the request is not tampered.
ValidationService - Class in com.scalar.dl.ledger.service
 
ValidationService(ClientKeyValidator, ContractManager, TransactionManager, AssetProofComposer) - Constructor for class com.scalar.dl.ledger.service.ValidationService
 
valueOf(String) - Static method in enum com.scalar.dl.ledger.database.AssetFilter.AgeOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.scalar.dl.ledger.statemachine.DeserializationType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.scalar.dl.ledger.database.AssetFilter.AgeOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.scalar.dl.ledger.statemachine.DeserializationType
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.scalar.dl.ledger.crypto.CertificateEntry
 

W

withAgeOrder(AssetFilter.AgeOrder) - Method in class com.scalar.dl.ledger.database.AssetFilter
Sets an ordering of filtered results.
withEndAge(int, boolean) - Method in class com.scalar.dl.ledger.database.AssetFilter
Sets an end age of scan with the specified age and the boundary condition.
withLimit(int) - Method in class com.scalar.dl.ledger.database.AssetFilter
Sets the maximum number of results to be returned.
withStartAge(int, boolean) - Method in class com.scalar.dl.ledger.database.AssetFilter
Sets a start age of scan with the specified age and the boundary condition.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links