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(ExecutionAbortRequest) - Method in class com.scalar.dl.client.service.LedgerClient
 
AbstractAuditorClient - Class in com.scalar.dl.client.service
 
AbstractAuditorClient() - Constructor for class com.scalar.dl.client.service.AbstractAuditorClient
 
AbstractGatewayClient - Class in com.scalar.dl.client.service
 
AbstractGatewayClient() - Constructor for class com.scalar.dl.client.service.AbstractGatewayClient
 
AbstractLedgerClient - Class in com.scalar.dl.client.service
 
AbstractLedgerClient() - Constructor for class com.scalar.dl.client.service.AbstractLedgerClient
 
AbstractRequest - Class in com.scalar.dl.ledger.model
 
AbstractRequest(String, int) - Constructor for class com.scalar.dl.ledger.model.AbstractRequest
 
accept(ThrowableConsumer<T>, T) - Method in interface com.scalar.dl.client.service.Client
 
age() - Method in interface com.scalar.dl.ledger.asset.Asset
Deprecated.
Returns an age of the asset.
age() - Method in interface com.scalar.dl.ledger.statemachine.Asset
Returns an age of the asset.
apply(ThrowableFunction<T, R>, T) - Method in interface com.scalar.dl.client.service.Client
 
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.
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.
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.
AssetProofRetrievalRequest - Class in com.scalar.dl.ledger.model
 
AssetProofRetrievalRequest(String, int, String, int, byte[]) - Constructor for class com.scalar.dl.ledger.model.AssetProofRetrievalRequest
 
AUDITOR_AUTHORIZATION_CREDENTIAL - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.auditor.authorization.credential (Optional)
An authorization credential for Auditor.
AUDITOR_ENABLED - Static variable in class com.scalar.dl.client.config.ClientConfig
Optional.
AUDITOR_HOST - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.auditor.host (Optional)
A hostname or an IP address of the auditor ("localhost" by default).
AUDITOR_LINEARIZABLE_VALIDATION_CONTRACT_ID - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.auditor.linearizable_validation.contract_id (Optional)
The ID of ValidateLedger contract ("validate-ledger" by default).
AUDITOR_PORT - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.auditor.port (Optional)
A hostname or an IP address of the auditor ("localhost" by default).
AUDITOR_PRIVILEGED_PORT - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.auditor.privileged_port (Optional)
A port number of the auditor for privileged services (40052 by default).
AUDITOR_TLS_CA_ROOT_CERT_PATH - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.auditor.tls.ca_root_cert_path (Optional)
A custom CA root certificate (file path) for TLS communication for Auditor.
AUDITOR_TLS_CA_ROOT_CERT_PEM - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.auditor.tls.ca_root_cert_pem (Optional)
A custom CA root certificate (PEM data) for TLS communication for Auditor.
AUDITOR_TLS_ENABLED - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.auditor.tls.enabled (Optional)
A flag to enable TLS communication for Auditor (false by default).
AUDITOR_TLS_OVERRIDE_AUTHORITY - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.auditor.tls.override_authority (Optional)
A custom authority for TLS communication for Auditor.
AuditorClient - Class in com.scalar.dl.client.service
 
AuditorClient(TargetConfig) - Constructor for class com.scalar.dl.client.service.AuditorClient
 
AUTHENTICATION_METHOD - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.authentication.method (Optional)
The authentication method for clients and Ledger/Auditor servers.
AUTHORIZATION_CREDENTIAL - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.authorization.credential (Optional)
An authorization credential for Ledger.
AuthorizationInterceptor - Class in com.scalar.dl.client.rpc
 
AuthorizationInterceptor(String) - Constructor for class com.scalar.dl.client.rpc.AuthorizationInterceptor
 

B

BINARY_NAME - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
bind(ContractEntry) - Method in interface com.scalar.dl.ledger.database.ContractRegistry
 
bootstrap() - Method in class com.scalar.dl.client.service.ClientService
Bootstraps the ledger by registering the identity (certificate or secret key) and system contracts if necessary, based on ClientConfig.
Bootstrap - Class in com.scalar.dl.client.tool
 
Bootstrap() - Constructor for class com.scalar.dl.client.tool.Bootstrap
 
build() - Method in class com.scalar.dl.client.config.DigitalSignatureIdentityConfig.Builder
 
build() - Method in class com.scalar.dl.client.config.HmacIdentityConfig.Builder
 
BYTE_CODE - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 

C

call() - Method in class com.scalar.dl.client.tool.Bootstrap
 
call() - Method in class com.scalar.dl.client.tool.CertificateRegistration
 
call() - Method in class com.scalar.dl.client.tool.ContractExecution
 
call() - Method in class com.scalar.dl.client.tool.ContractRegistration
 
call() - Method in class com.scalar.dl.client.tool.ContractsListing
 
call() - Method in class com.scalar.dl.client.tool.ContractsRegistration
 
call() - Method in class com.scalar.dl.client.tool.FunctionRegistration
 
call() - Method in class com.scalar.dl.client.tool.FunctionsRegistration
 
call() - Method in class com.scalar.dl.client.tool.GenericContractLedgerValidation
 
call() - Method in class com.scalar.dl.client.tool.LedgerValidation
 
call() - Method in class com.scalar.dl.client.tool.SecretRegistration
 
call() - Method in class com.scalar.dl.client.tool.SmallbankBench
 
call() - Method in class com.scalar.dl.client.tool.SmallbankLoader
 
cert(String) - Method in class com.scalar.dl.client.config.DigitalSignatureIdentityConfig.Builder
 
CERT_HOLDER_ID - Static variable in class com.scalar.dl.client.config.ClientConfig
Deprecated.
This variable will be deleted in release 5.0.0. Use scalar.dl.client.entity_id instead.
CERT_PATH - Static variable in class com.scalar.dl.client.config.ClientConfig
Deprecated.
This variable will be deleted in release 5.0.0. Use scalar.dl.client.entity.identity.digital_signature.cert_path instead.
CERT_PEM - Static variable in class com.scalar.dl.client.config.ClientConfig
Deprecated.
This variable will be deleted in release 5.0.0. Use scalar.dl.client.entity.identity.digital_signature.cert_pem instead.
CERT_VERSION - Static variable in class com.scalar.dl.client.config.ClientConfig
Deprecated.
This variable will be deleted in release 5.0.0. Use scalar.dl.client.entity.identity.digital_signature.cert_version instead.
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
 
CertificateRegistration - Class in com.scalar.dl.client.tool
 
CertificateRegistration() - Constructor for class com.scalar.dl.client.tool.CertificateRegistration
 
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.
certVersion(int) - Method in class com.scalar.dl.client.config.DigitalSignatureIdentityConfig.Builder
 
Client - Interface in com.scalar.dl.client.service
 
ClientConfig - Class in com.scalar.dl.client.config
 
ClientConfig(File) - Constructor for class com.scalar.dl.client.config.ClientConfig
 
ClientConfig(InputStream) - Constructor for class com.scalar.dl.client.config.ClientConfig
 
ClientConfig(Properties) - Constructor for class com.scalar.dl.client.config.ClientConfig
 
ClientError - Enum in com.scalar.dl.client.error
 
ClientException - Exception in com.scalar.dl.client.exception
 
ClientException(String, StatusCode) - Constructor for exception com.scalar.dl.client.exception.ClientException
 
ClientException(String, Throwable, StatusCode) - Constructor for exception com.scalar.dl.client.exception.ClientException
 
ClientException(ScalarDlError, Object...) - Constructor for exception com.scalar.dl.client.exception.ClientException
 
ClientException(ScalarDlError, Throwable, Object...) - Constructor for exception com.scalar.dl.client.exception.ClientException
 
ClientIdentityKey - Interface in com.scalar.dl.ledger.crypto
 
ClientMode - Enum in com.scalar.dl.client.config
 
ClientService - Class in com.scalar.dl.client.service
A thread-safe client that interacts with Ledger and Auditor components to register certificates, register contracts, execute contracts, and validate data.
ClientService(ClientConfig, ClientServiceHandler, RequestSigner) - Constructor for class com.scalar.dl.client.service.ClientService
Constructs a ClientService with the specified ClientConfig, ClientServiceHandler and RequestSigner.
ClientServiceFactory - Class in com.scalar.dl.client.service
A factory class to instantiate ClientService.
ClientServiceFactory(ClientConfig) - Constructor for class com.scalar.dl.client.service.ClientServiceFactory
Deprecated.
This method will be removed in release 5.0.0.
ClientServiceFactory() - Constructor for class com.scalar.dl.client.service.ClientServiceFactory
 
ClientServiceHandler - Interface in com.scalar.dl.client.service
 
close() - Method in class com.scalar.dl.client.service.ClientService
Deprecated.
This method will be removed in release 5.0.0.
close() - Method in class com.scalar.dl.client.service.ClientServiceFactory
Cleans up all the resources managed by the factory.
com.scalar.dl.client.config - package com.scalar.dl.client.config
 
com.scalar.dl.client.error - package com.scalar.dl.client.error
 
com.scalar.dl.client.exception - package com.scalar.dl.client.exception
 
com.scalar.dl.client.rpc - package com.scalar.dl.client.rpc
 
com.scalar.dl.client.service - package com.scalar.dl.client.service
 
com.scalar.dl.client.tool - package com.scalar.dl.client.tool
 
com.scalar.dl.client.util - package com.scalar.dl.client.util
 
com.scalar.dl.client.validation.contract.v1_0_0 - package com.scalar.dl.client.validation.contract.v1_0_0
 
com.scalar.dl.ledger.asset - package com.scalar.dl.ledger.asset
 
com.scalar.dl.ledger.contract - package com.scalar.dl.ledger.contract
 
com.scalar.dl.ledger.crypto - package com.scalar.dl.ledger.crypto
 
com.scalar.dl.ledger.database - package com.scalar.dl.ledger.database
 
com.scalar.dl.ledger.exception - package com.scalar.dl.ledger.exception
 
com.scalar.dl.ledger.function - package com.scalar.dl.ledger.function
 
com.scalar.dl.ledger.model - package com.scalar.dl.ledger.model
 
com.scalar.dl.ledger.statemachine - package com.scalar.dl.ledger.statemachine
 
CommandGroupRenderer - Class in com.scalar.dl.client.tool
Renderer to display a group of subcommands like Git.
CommandGroupRenderer(ImmutableMap<String, List<Class<?>>>) - Constructor for class com.scalar.dl.client.tool.CommandGroupRenderer
 
Common - Class in com.scalar.dl.client.tool
 
Common() - Constructor for class com.scalar.dl.client.tool.Common
 
Common - Class in com.scalar.dl.client.util
 
Common() - Constructor for class com.scalar.dl.client.util.Common
 
CommonOptions - Class in com.scalar.dl.client.tool
This is the class to define options in common that can be reused by the subcommands.
CommonOptions() - Constructor for class com.scalar.dl.client.tool.CommonOptions
 
configureDataSize(NettyChannelBuilder, TargetConfig) - Static method in class com.scalar.dl.client.rpc.RpcUtil
 
configureHeader(NettyChannelBuilder, TargetConfig) - Static method in class com.scalar.dl.client.rpc.RpcUtil
 
configureTls(NettyChannelBuilder, TargetConfig) - Static method in class com.scalar.dl.client.rpc.RpcUtil
 
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
 
ConflictException(ScalarDlError, Map<String, Integer>) - Constructor for exception com.scalar.dl.ledger.exception.ConflictException
 
ConflictException(ScalarDlError, Throwable, Map<String, Integer>, Object...) - Constructor for exception com.scalar.dl.ledger.exception.ConflictException
 
ConflictException(ScalarDlError, Object...) - Constructor for exception com.scalar.dl.ledger.exception.ConflictException
 
ConflictException(ScalarDlError, Throwable, Object...) - 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.
 
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
 
ContractExecution - Class in com.scalar.dl.client.tool
 
ContractExecution() - Constructor for class com.scalar.dl.client.tool.ContractExecution
 
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.
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
 
ContractRegistration - Class in com.scalar.dl.client.tool
 
ContractRegistration() - Constructor for class com.scalar.dl.client.tool.ContractRegistration
 
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
 
ContractsListing - Class in com.scalar.dl.client.tool
 
ContractsListing() - Constructor for class com.scalar.dl.client.tool.ContractsListing
 
ContractsListingRequest - Class in com.scalar.dl.ledger.model
 
ContractsListingRequest(String, String, int, byte[]) - Constructor for class com.scalar.dl.ledger.model.ContractsListingRequest
 
ContractsRegistration - Class in com.scalar.dl.client.tool
 
ContractsRegistration() - Constructor for class com.scalar.dl.client.tool.ContractsRegistration
 
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
 
ContractValidationException(ScalarDlError, Object...) - Constructor for exception com.scalar.dl.ledger.exception.ContractValidationException
 
create(ClientConfig) - Method in class com.scalar.dl.client.service.ClientServiceFactory
Returns a ClientService instance.
create(GatewayClientConfig) - Method in class com.scalar.dl.client.service.ClientServiceFactory
Returns a ClientService instance.
createForGenericContract(ClientConfig) - Method in class com.scalar.dl.client.service.ClientServiceFactory
Returns a GenericContractClientService instance.
createForGenericContract(GatewayClientConfig) - Method in class com.scalar.dl.client.service.ClientServiceFactory
Returns a GenericContractClientService instance.

D

data() - Method in interface com.scalar.dl.ledger.asset.Asset
Deprecated.
Returns a data of the asset.
data() - Method in interface com.scalar.dl.ledger.statemachine.Asset
Returns a data of the asset.
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
 
DatabaseException(ScalarDlError, Object...) - Constructor for exception com.scalar.dl.ledger.exception.DatabaseException
 
DatabaseException(ScalarDlError, Throwable, Object...) - Constructor for exception com.scalar.dl.ledger.exception.DatabaseException
 
DEFAULT_AUDITING_HOOK - Static variable in class com.scalar.dl.client.service.AbstractLedgerClient
 
DefaultClientServiceHandler - Class in com.scalar.dl.client.service
 
DefaultClientServiceHandler(AbstractLedgerClient, AbstractAuditorClient) - Constructor for class com.scalar.dl.client.service.DefaultClientServiceHandler
Constructs a BaseClientService with the specified AbstractLedgerClient and AbstractAuditorClient.
delete(D) - Method in interface com.scalar.dl.ledger.database.Database
 
DEPRECATED_AUTHENTICATION_METHOD - Static variable in class com.scalar.dl.client.config.ClientConfig
Deprecated.
This variable will be deleted in release 5.0.0. Use scalar.dl.client.authentication.method instead.
DeserializationFormat - Enum in com.scalar.dl.client.tool
 
deserialize(String) - Static method in class com.scalar.dl.ledger.contract.ContractEntry.Key
 
DigitalSignatureIdentityConfig - Class in com.scalar.dl.client.config
 
DigitalSignatureIdentityConfig.Builder - Class in com.scalar.dl.client.config
 
DS_CERT_PATH - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.entity.identity.digital_signature.cert_path
PEM-encoded certificate data, which is required if scalar.dl.client.entity.identity.digital_signature.cert_pem is empty.
DS_CERT_PEM - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.entity.identity.digital_signature.cert_pem
The path of a certificate file in PEM format, which is required if scalar.dl.client.entity.identity.digital_signature.cert_path is empty.
DS_CERT_VERSION - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.entity.identity.digital_signature.cert_version (Optional)
The version of the certificate 1 by default.
DS_PRIVATE_KEY_PATH - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.entity.identity.digital_signature.private_key_path
The path of a private key file in PEM format, which corresponds to the specified certificate.
DS_PRIVATE_KEY_PEM - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.entity.identity.digital_signature.private_key_pem
PEM-encoded private key data.

E

ENTITY_ID - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.entity.id
A unique ID of a requester (e.g., a user or a device).
ENTITY_ID - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
ENTITY_ID - Static variable in class com.scalar.dl.ledger.crypto.CertificateEntry
 
entityId(String) - Method in class com.scalar.dl.client.config.DigitalSignatureIdentityConfig.Builder
 
entityId(String) - Method in class com.scalar.dl.client.config.HmacIdentityConfig.Builder
 
equals(Object) - Method in class com.scalar.dl.client.config.DigitalSignatureIdentityConfig
 
equals(Object) - Method in class com.scalar.dl.client.config.HmacIdentityConfig
 
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.database.AssetFilter
 
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
 
execute(ContractExecutionRequest) - Method in class com.scalar.dl.client.service.GatewayClient
 
execute(ContractExecutionRequest) - Method in class com.scalar.dl.client.service.LedgerClient
 
execute(ContractExecutionRequest, ThrowableFunction<ContractExecutionResponse, ContractExecutionResponse>) - Method in class com.scalar.dl.client.service.LedgerClient
 
executeContract(String, JsonObject) - Method in class com.scalar.dl.client.service.ClientService
Executes the specified contract (and functions) with the specified argument.
executeContract(String, String, JsonObject) - Method in class com.scalar.dl.client.service.ClientService
Deprecated.
This method will be removed in release 5.0.0.
executeContract(String, JsonObject, Optional<JsonObject>) - Method in class com.scalar.dl.client.service.ClientService
Deprecated.
This method will be removed in release 5.0.0.
executeContract(String, String, JsonObject, Optional<JsonObject>) - Method in class com.scalar.dl.client.service.ClientService
Deprecated.
This method will be removed in release 5.0.0.
executeContract(String, JsonObject, String, JsonObject) - Method in class com.scalar.dl.client.service.ClientService
Executes the specified contract (and function) with the specified arguments.
executeContract(String, String, JsonObject, String, JsonObject) - Method in class com.scalar.dl.client.service.ClientService
Deprecated.
This method will be removed in release 5.0.0.
executeContract(String, JsonNode) - Method in class com.scalar.dl.client.service.ClientService
Executes the specified contract with the specified argument.
executeContract(String, String, JsonNode) - Method in class com.scalar.dl.client.service.ClientService
Deprecated.
This method will be removed in release 5.0.0.
executeContract(String, JsonNode, String, JsonNode) - Method in class com.scalar.dl.client.service.ClientService
Executes the specified contract (and functions) with the specified arguments.
executeContract(String, String, JsonNode, String, JsonNode) - Method in class com.scalar.dl.client.service.ClientService
Deprecated.
This method will be removed in release 5.0.0.
executeContract(String, String) - Method in class com.scalar.dl.client.service.ClientService
Executes the specified contract with the specified argument.
executeContract(String, String, String) - Method in class com.scalar.dl.client.service.ClientService
Deprecated.
This method will be removed in release 5.0.0.
executeContract(String, String, String, String) - Method in class com.scalar.dl.client.service.ClientService
Executes the specified contract (and function) with the specified arguments.
executeContract(String, String, String, String, String) - Method in class com.scalar.dl.client.service.ClientService
Deprecated.
This method will be removed in release 5.0.0.
executeContract(byte[]) - Method in class com.scalar.dl.client.service.ClientService
Executes the specified contract with the specified serialized byte array of a ContractExecutionRequest.
executeContract(ContractExecutionRequest) - Method in interface com.scalar.dl.client.service.ClientServiceHandler
Executes the specified contract with the specified ContractExecutionRequest.
executeContract(ContractExecutionRequest) - Method in class com.scalar.dl.client.service.DefaultClientServiceHandler
Executes the specified contract with the specified ContractExecutionRequest.
executeContract(ContractExecutionRequest) - Method in class com.scalar.dl.client.service.GatewayClientServiceHandler
Executes the specified contract with the specified ContractExecutionRequest.
executeContract(String, JsonObject) - Method in class com.scalar.dl.client.service.GenericContractClientService
Executes the specified contract (and functions) with the specified argument.
executeContract(String, JsonObject, String, JsonObject) - Method in class com.scalar.dl.client.service.GenericContractClientService
Executes the specified contract (and function) with the specified arguments.
executeContract(String, JsonNode) - Method in class com.scalar.dl.client.service.GenericContractClientService
Executes the specified contract with the specified argument.
executeContract(String, JsonNode, String, JsonNode) - Method in class com.scalar.dl.client.service.GenericContractClientService
Executes the specified contract (and functions) with the specified arguments.
executeContract(String, String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Executes the specified contract with the specified argument.
executeContract(String, String, String, String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Executes the specified contract (and function) with the specified arguments.
executeContract(byte[]) - Method in class com.scalar.dl.client.service.GenericContractClientService
Executes the specified contract with the specified serialized byte array of a ContractExecutionRequest.
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

fileToBytes(String) - Static method in class com.scalar.dl.client.util.Common
 
finalize() - Method in class com.scalar.dl.client.config.ClientConfig
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.client.config.GatewayClientConfig
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.client.service.AuditorClient
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.client.service.GatewayClient
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.client.service.LedgerClient
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."
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.
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.
 
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
 
FunctionManager - Class in com.scalar.dl.ledger.function
 
FunctionManager(FunctionRegistry, FunctionLoader) - Constructor for class com.scalar.dl.ledger.function.FunctionManager
 
FunctionRegistration - Class in com.scalar.dl.client.tool
 
FunctionRegistration() - Constructor for class com.scalar.dl.client.tool.FunctionRegistration
 
FunctionRegistrationRequest - Class in com.scalar.dl.ledger.model
 
FunctionRegistrationRequest(String, String, byte[]) - Constructor for class com.scalar.dl.ledger.model.FunctionRegistrationRequest
 
FunctionsRegistration - Class in com.scalar.dl.client.tool
 
FunctionsRegistration() - Constructor for class com.scalar.dl.client.tool.FunctionsRegistration
 

G

GATEWAY_AUTHORIZATION_CREDENTIAL - Static variable in class com.scalar.dl.client.config.GatewayClientConfig
scalar.dl.client.gateway.authorization.credential (Optional)
An authorization credential for the gateway.
GATEWAY_HOST - Static variable in class com.scalar.dl.client.config.GatewayClientConfig
scalar.dl.client.gateway.host (Optional)
A hostname or an IP address of the gateway ("localhost" by default).
GATEWAY_PORT - Static variable in class com.scalar.dl.client.config.GatewayClientConfig
scalar.dl.client.gateway.port (Optional)
A port number of the gateway (30051 by default).
GATEWAY_PRIVILEGED_PORT - Static variable in class com.scalar.dl.client.config.GatewayClientConfig
scalar.dl.client.gateway.privileged_port (Optional)
A port number of the gateway for privileged services (30052 by default).
GATEWAY_TLS_CA_ROOT_CERT_PATH - Static variable in class com.scalar.dl.client.config.GatewayClientConfig
scalar.dl.client.gateway.tls.ca_root_cert_path (Optional)
A custom CA root certificate (file path) for TLS communication for the gateway.
GATEWAY_TLS_CA_ROOT_CERT_PEM - Static variable in class com.scalar.dl.client.config.GatewayClientConfig
scalar.dl.client.gateway.tls.ca_root_cert_pem (Optional)
A custom CA root certificate (PEM data) for TLS communication for the gateway.
GATEWAY_TLS_ENABLED - Static variable in class com.scalar.dl.client.config.GatewayClientConfig
scalar.dl.client.gateway.tls.enabled (Optional)
A flag to enable TLS communication for the gateway (false by default).
GATEWAY_TLS_OVERRIDE_AUTHORITY - Static variable in class com.scalar.dl.client.config.GatewayClientConfig
scalar.dl.client.gateway.tls.override_authority (Optional)
A custom authority for TLS communication for Auditor.
GatewayClient - Class in com.scalar.dl.client.service
 
GatewayClient(TargetConfig) - Constructor for class com.scalar.dl.client.service.GatewayClient
 
GatewayClientConfig - Class in com.scalar.dl.client.config
 
GatewayClientConfig(File) - Constructor for class com.scalar.dl.client.config.GatewayClientConfig
 
GatewayClientConfig(InputStream) - Constructor for class com.scalar.dl.client.config.GatewayClientConfig
 
GatewayClientConfig(Properties) - Constructor for class com.scalar.dl.client.config.GatewayClientConfig
 
GatewayClientServiceHandler - Class in com.scalar.dl.client.service
 
GatewayClientServiceHandler(AbstractGatewayClient) - Constructor for class com.scalar.dl.client.service.GatewayClientServiceHandler
Constructs a GatewayClientServiceHandler with the specified AbstractGatewayClient.
GenericContractClientService - Class in com.scalar.dl.client.service
A thread-safe client that interacts with Ledger and Auditor components to register certificates, register contracts, execute contracts, and validate data in a generic-contract environment.
GenericContractClientService(ClientService) - Constructor for class com.scalar.dl.client.service.GenericContractClientService
Constructs a GenericContractClientService with the specified ClientService.
GenericContractCommandLine - Class in com.scalar.dl.client.tool
 
GenericContractCommandLine() - Constructor for class com.scalar.dl.client.tool.GenericContractCommandLine
 
GenericContractLedgerValidation - Class in com.scalar.dl.client.tool
 
GenericContractLedgerValidation() - Constructor for class com.scalar.dl.client.tool.GenericContractLedgerValidation
 
get(ContractEntry.Key) - Method in class com.scalar.dl.ledger.contract.ContractManager
Returns a ContractEntry.
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(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.
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.
getAuditorLinearizableValidationContractId() - Method in class com.scalar.dl.client.config.ClientConfig
 
getAuditorSignature() - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Returns the signature from an auditor
getAuditorTargetConfig() - Method in class com.scalar.dl.client.config.ClientConfig
 
getAuthenticationMethod() - Method in class com.scalar.dl.client.config.ClientConfig
 
getBinaryName() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the binary name of the ContractEntry.
getByteCode() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the bytecode of the contract contained in the ContractEntry.
getCause() - Method in enum com.scalar.dl.client.error.ClientError
 
getCert() - Method in class com.scalar.dl.client.config.DigitalSignatureIdentityConfig
 
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.
getCertVersion() - Method in class com.scalar.dl.client.config.DigitalSignatureIdentityConfig
 
getClassBytes(Class<?>) - Static method in class com.scalar.dl.client.util.Common
 
getClientConfig() - Method in class com.scalar.dl.client.config.GatewayClientConfig
 
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
 
getClientMode() - Method in class com.scalar.dl.client.config.ClientConfig
 
getClientService() - Method in class com.scalar.dl.client.service.ClientServiceFactory
Deprecated.
This method will be removed in release 5.0.0.
getComponentName() - Method in enum com.scalar.dl.client.error.ClientError
 
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.
getDeserializationType() - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
getDigitalSignatureIdentityConfig() - Method in class com.scalar.dl.client.config.ClientConfig
 
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.client.config.DigitalSignatureIdentityConfig
 
getEntityId() - Method in class com.scalar.dl.client.config.HmacIdentityConfig
 
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.model.AbstractRequest
Returns the entity ID.
getFunctionArgument() - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Returns the argument to user-defined functions
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.
getGatewayTargetConfig() - Method in class com.scalar.dl.client.config.GatewayClientConfig
 
getGrpcClientConfig() - Method in class com.scalar.dl.client.config.ClientConfig
 
getHmacIdentityConfig() - Method in class com.scalar.dl.client.config.ClientConfig
 
getHolderId() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry.Key
Deprecated.
getId() - Method in enum com.scalar.dl.client.error.ClientError
 
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.
getIds() - Method in exception com.scalar.dl.ledger.exception.ConflictException
 
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.
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.model.AbstractRequest
Returns the version of a digital signature certificate or a HMAC secret key.
getLedgerTargetConfig() - Method in class com.scalar.dl.client.config.ClientConfig
 
getLimit() - Method in class com.scalar.dl.ledger.database.AssetFilter
Returns the maximum number of results to be returned.
getMessage() - Method in enum com.scalar.dl.client.error.ClientError
 
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
 
getPem() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry
Returns the certificate.
getPrivateKey() - Method in class com.scalar.dl.client.config.DigitalSignatureIdentityConfig
 
getProperties() - Method in class com.scalar.dl.ledger.contract.ContractEntry
Returns the properties of the ContractEntry (may be empty).
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.
getSecretKey() - Method in class com.scalar.dl.client.config.HmacIdentityConfig
 
getSecretKeyVersion() - Method in class com.scalar.dl.client.config.HmacIdentityConfig
 
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.
getSolution() - Method in enum com.scalar.dl.client.error.ClientError
 
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() - Method in class com.scalar.dl.ledger.model.ExecutionAbortResult
 
getState() - Method in class com.scalar.dl.ledger.model.StateRetrievalResult
 
getStatusCode() - Method in enum com.scalar.dl.client.error.ClientError
 
getStatusCode() - Method in exception com.scalar.dl.client.exception.ClientException
 
getTransactionId() - Method in class com.scalar.dl.ledger.model.StateRetrievalRequest
 
getUnknownTransactionId() - Method in exception com.scalar.dl.ledger.exception.UnknownTransactionStatusException
 
getValidationResult(LedgerValidationResult) - Static method in class com.scalar.dl.client.tool.Common
 
getVersion() - Method in class com.scalar.dl.ledger.crypto.CertificateEntry
Returns the certificate version.
GRPC_DEADLINE_DURATION_MILLIS - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.grpc.deadline_duration_millis (Optional)
A deadline that is after the given duration from now for each request.
GRPC_MAX_INBOUND_MESSAGE_SIZE - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.grpc.max_inbound_message_size (Optional)
The maximum message size allowed for a single gRPC frame.
GRPC_MAX_INBOUND_METADATA_SIZE - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.grpc.max_inbound_metadata_size (Optional)
The maximum size of metadata allowed to be received.

H

hash() - Method in interface com.scalar.dl.ledger.asset.AssetMetadata
Deprecated.
Returns the hash of the asset record.
hash() - Method in interface com.scalar.dl.ledger.statemachine.AssetMetadata
Returns the hash of the asset record.
hashCode() - Method in class com.scalar.dl.client.config.DigitalSignatureIdentityConfig
 
hashCode() - Method in class com.scalar.dl.client.config.HmacIdentityConfig
 
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.database.AssetFilter
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.
helpRequested - Variable in class com.scalar.dl.client.tool.CommonOptions
 
HMAC_SECRET_KEY - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.entity.identity.hmac.secret_key
A secret key for HMAC, which is required if HMAC is used for authentication.
HMAC_SECRET_KEY_VERSION - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.entity.identity.hmac.secret_key_version (Optional)
The version of the HMAC key.
HmacIdentityConfig - Class in com.scalar.dl.client.config
 
HmacIdentityConfig.Builder - Class in com.scalar.dl.client.config
 

I

id() - Method in interface com.scalar.dl.ledger.asset.Asset
Deprecated.
Returns an ID of the asset.
ID - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
id() - Method in interface com.scalar.dl.ledger.statemachine.Asset
Returns an ID of the asset.
initialize(ContractManager, ClientIdentityKey) - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
input() - Method in interface com.scalar.dl.ledger.asset.AssetMetadata
Deprecated.
Returns the json-formatted input dependencies of the asset.
input() - Method in interface com.scalar.dl.ledger.statemachine.AssetMetadata
Returns the json-formatted input dependencies of the asset.
interceptCall(MethodDescriptor<ReqT, RespT>, CallOptions, Channel) - Method in class com.scalar.dl.client.rpc.AuthorizationInterceptor
 
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
 
InvalidFunctionException(ScalarDlError, Object...) - Constructor for exception com.scalar.dl.ledger.exception.InvalidFunctionException
 
InvalidFunctionException(ScalarDlError, Throwable, Object...) - Constructor for exception com.scalar.dl.ledger.exception.InvalidFunctionException
 
invoke(Ledger<JsonNode>, JsonNode, JsonNode) - Method in class com.scalar.dl.client.validation.contract.v1_0_0.ValidateLedger
 
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.
 
isAuditorEnabled() - Method in class com.scalar.dl.client.config.ClientConfig
 
isEndInclusive() - Method in class com.scalar.dl.ledger.database.AssetFilter
Returns the boundary condition of the end age.
isRoot() - Method in class com.scalar.dl.ledger.contract.Contract
Deprecated.
 
isRoot() - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
isStartInclusive() - Method in class com.scalar.dl.ledger.database.AssetFilter
Returns the boundary condition of the start age.

J

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
 
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
 

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_VERSION - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 

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.
LedgerClient - Class in com.scalar.dl.client.service
 
LedgerClient(TargetConfig) - Constructor for class com.scalar.dl.client.service.LedgerClient
 
LedgerValidation - Class in com.scalar.dl.client.tool
 
LedgerValidation() - Constructor for class com.scalar.dl.client.tool.LedgerValidation
 
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.
list(ContractsListingRequest) - Method in class com.scalar.dl.client.service.AuditorClient
 
list(ContractsListingRequest) - Method in interface com.scalar.dl.client.service.Client
 
list(ContractsListingRequest) - Method in class com.scalar.dl.client.service.GatewayClient
 
list(ContractsListingRequest) - Method in class com.scalar.dl.client.service.LedgerClient
 
listContracts(String) - Method in class com.scalar.dl.client.service.ClientService
Retrieves a list of contracts for the certificate holder specified in ClientConfig.
listContracts(byte[]) - Method in class com.scalar.dl.client.service.ClientService
Retrieves a list of contracts with the specified serialized byte array of a ContractsListingRequest.
listContracts(ContractsListingRequest) - Method in interface com.scalar.dl.client.service.ClientServiceHandler
Retrieves a list of contracts with the specified ContractsListingRequest.
listContracts(ContractsListingRequest) - Method in class com.scalar.dl.client.service.DefaultClientServiceHandler
Retrieves a list of contracts with the specified ContractsListingRequest.
listContracts(ContractsListingRequest) - Method in class com.scalar.dl.client.service.GatewayClientServiceHandler
Retrieves a list of contracts with the specified ContractsListingRequest.
listContracts(String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Retrieves a list of contracts for the certificate holder specified in ClientConfig.
listContracts(byte[]) - Method in class com.scalar.dl.client.service.GenericContractClientService
Retrieves a list of contracts with the specified serialized byte array of a ContractsListingRequest.
lookup(ContractEntry.Key) - Method in interface com.scalar.dl.ledger.database.ContractRegistry
 

M

main(String[]) - Static method in class com.scalar.dl.client.tool.CertificateRegistration
 
main(String[]) - Static method in class com.scalar.dl.client.tool.ContractExecution
 
main(String[]) - Static method in class com.scalar.dl.client.tool.ContractRegistration
 
main(String[]) - Static method in class com.scalar.dl.client.tool.ContractsListing
 
main(String[]) - Static method in class com.scalar.dl.client.tool.ContractsRegistration
 
main(String[]) - Static method in class com.scalar.dl.client.tool.FunctionRegistration
 
main(String[]) - Static method in class com.scalar.dl.client.tool.FunctionsRegistration
 
main(String[]) - Static method in class com.scalar.dl.client.tool.GenericContractCommandLine
 
main(String[]) - Static method in class com.scalar.dl.client.tool.LedgerValidation
 
main(String[]) - Static method in class com.scalar.dl.client.tool.ScalarDlCommandLine
 
main(String[]) - Static method in class com.scalar.dl.client.tool.SecretRegistration
 
main(String[]) - Static method in class com.scalar.dl.client.tool.SmallbankBench
 
main(String[]) - Static method in class com.scalar.dl.client.tool.SmallbankLoader
 
metadata() - Method in interface com.scalar.dl.ledger.asset.Asset
Deprecated.
Returns the metadata with AssetMetadata of the asset.
metadata() - Method in interface com.scalar.dl.ledger.statemachine.Asset
Returns the metadata with AssetMetadata of the asset.
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
 
MissingCertificateException(ScalarDlError, Object...) - 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
 
MissingContractException(ScalarDlError, Object...) - 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
 
MissingFunctionException(ScalarDlError, Object...) - Constructor for exception com.scalar.dl.ledger.exception.MissingFunctionException
 
MODE - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.mode (Optional)
A client mode.

N

newBuilder() - Static method in class com.scalar.dl.client.config.DigitalSignatureIdentityConfig
 
newBuilder() - Static method in class com.scalar.dl.client.config.HmacIdentityConfig
 
nonce() - Method in interface com.scalar.dl.ledger.asset.AssetMetadata
Deprecated.
Returns the nonce of the request that created the asset.
nonce() - Method in interface com.scalar.dl.ledger.statemachine.AssetMetadata
Returns the nonce of the request that created the asset.

O

order(ContractExecutionRequest) - Method in class com.scalar.dl.client.service.AuditorClient
 

P

PEM - Static variable in class com.scalar.dl.ledger.crypto.CertificateEntry
 
prevHash() - Method in interface com.scalar.dl.ledger.asset.AssetMetadata
Deprecated.
Returns the previous hash of the asset record.
prevHash() - Method in interface com.scalar.dl.ledger.statemachine.AssetMetadata
Returns the previous hash of the asset record.
printError(ClientException) - Static method in class com.scalar.dl.client.tool.Common
 
printJson(JsonNode) - Static method in class com.scalar.dl.client.tool.Common
 
printOutput(JsonNode) - Static method in class com.scalar.dl.client.tool.Common
 
printStackTrace(Exception) - Method in class com.scalar.dl.client.tool.CommonOptions
Outputs Java stack trace to stderr stream by using Throwable.printStackTrace() when the stacktrace option is set.
PRIVATE_KEY_PATH - Static variable in class com.scalar.dl.client.config.ClientConfig
Deprecated.
This variable will be deleted in release 5.0.0. Use scalar.dl.client.entity.identity.digital_signature.private_key_path instead.
PRIVATE_KEY_PEM - Static variable in class com.scalar.dl.client.config.ClientConfig
Deprecated.
This variable will be deleted in release 5.0.0. Use scalar.dl.client.entity.identity.digital_signature.private_key_pem instead.
privateKey(String) - Method in class com.scalar.dl.client.config.DigitalSignatureIdentityConfig.Builder
 
properties - Variable in class com.scalar.dl.client.tool.CommonOptions
 
PROPERTIES - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
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(String, T) - Method in interface com.scalar.dl.ledger.statemachine.Ledger
Creates/Appends an Asset entry to the ledger.

R

register(CertificateRegistrationRequest) - Method in class com.scalar.dl.client.service.AuditorClient
 
register(SecretRegistrationRequest) - Method in class com.scalar.dl.client.service.AuditorClient
 
register(ContractRegistrationRequest) - Method in class com.scalar.dl.client.service.AuditorClient
 
register(CertificateRegistrationRequest) - Method in interface com.scalar.dl.client.service.Client
 
register(SecretRegistrationRequest) - Method in interface com.scalar.dl.client.service.Client
 
register(ContractRegistrationRequest) - Method in interface com.scalar.dl.client.service.Client
 
register(CertificateRegistrationRequest) - Method in class com.scalar.dl.client.service.GatewayClient
 
register(SecretRegistrationRequest) - Method in class com.scalar.dl.client.service.GatewayClient
 
register(FunctionRegistrationRequest) - Method in class com.scalar.dl.client.service.GatewayClient
 
register(ContractRegistrationRequest) - Method in class com.scalar.dl.client.service.GatewayClient
 
register(CertificateRegistrationRequest) - Method in class com.scalar.dl.client.service.LedgerClient
 
register(SecretRegistrationRequest) - Method in class com.scalar.dl.client.service.LedgerClient
 
register(FunctionRegistrationRequest) - Method in class com.scalar.dl.client.service.LedgerClient
 
register(ContractRegistrationRequest) - Method in class com.scalar.dl.client.service.LedgerClient
 
register(ContractEntry) - Method in class com.scalar.dl.ledger.contract.ContractManager
register(FunctionEntry) - Method in class com.scalar.dl.ledger.function.FunctionManager
 
registerCertificate() - Method in class com.scalar.dl.client.service.ClientService
Registers the certificate specified in the given ClientConfig for digital signature authentication.
registerCertificate(byte[]) - Method in class com.scalar.dl.client.service.ClientService
Registers the certificate specified with the serialized byte array of a CertificateRegistrationRequest for digital signature authentication.
registerCertificate(CertificateRegistrationRequest) - Method in interface com.scalar.dl.client.service.ClientServiceHandler
Registers the certificate with the specified CertificateRegistrationRequest for digital signature authentication.
registerCertificate(CertificateRegistrationRequest) - Method in class com.scalar.dl.client.service.DefaultClientServiceHandler
Registers the certificate with the specified CertificateRegistrationRequest for digital signature authentication.
registerCertificate(CertificateRegistrationRequest) - Method in class com.scalar.dl.client.service.GatewayClientServiceHandler
Registers the certificate with the specified CertificateRegistrationRequest for digital signature authentication.
registerCertificate() - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the certificate specified in the given ClientConfig for digital signature authentication.
registerCertificate(byte[]) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the certificate specified with the serialized byte array of a CertificateRegistrationRequest for digital signature authentication.
registerContract(String, String, byte[], Optional<JsonObject>) - Method in class com.scalar.dl.client.service.ClientService
Deprecated.
This method will be removed in release 5.0.0.
registerContract(String, String, String, Optional<JsonObject>) - Method in class com.scalar.dl.client.service.ClientService
Deprecated.
This method will be removed in release 5.0.0.
registerContract(String, String, byte[]) - Method in class com.scalar.dl.client.service.ClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, String) - Method in class com.scalar.dl.client.service.ClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, byte[], JsonObject) - Method in class com.scalar.dl.client.service.ClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, String, JsonObject) - Method in class com.scalar.dl.client.service.ClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, byte[], JsonNode) - Method in class com.scalar.dl.client.service.ClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, String, JsonNode) - Method in class com.scalar.dl.client.service.ClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, String, String) - Method in class com.scalar.dl.client.service.ClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, byte[], String) - Method in class com.scalar.dl.client.service.ClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(byte[]) - Method in class com.scalar.dl.client.service.ClientService
Registers the contract with the specified serialized byte array of a ContractRegistrationRequest.
registerContract(ContractRegistrationRequest) - Method in interface com.scalar.dl.client.service.ClientServiceHandler
Registers the contract with the specified ContractRegistrationRequest.
registerContract(ContractRegistrationRequest) - Method in class com.scalar.dl.client.service.DefaultClientServiceHandler
Registers the contract with the specified ContractRegistrationRequest.
registerContract(ContractRegistrationRequest) - Method in class com.scalar.dl.client.service.GatewayClientServiceHandler
Registers the contract with the specified ContractRegistrationRequest.
registerContract(String, String, byte[]) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, byte[], JsonObject) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, String, JsonObject) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, byte[], JsonNode) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, String, JsonNode) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, String, String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(String, String, byte[], String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the specified contract for the certificate holder specified in ClientConfig.
registerContract(byte[]) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the contract with the specified serialized byte array of a ContractRegistrationRequest.
REGISTERED_AT - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
REGISTERED_AT - Static variable in class com.scalar.dl.ledger.crypto.CertificateEntry
 
registerFunction(String, String, byte[]) - Method in class com.scalar.dl.client.service.ClientService
Registers the specified function.
registerFunction(String, String, String) - Method in class com.scalar.dl.client.service.ClientService
Registers the specified function.
registerFunction(byte[]) - Method in class com.scalar.dl.client.service.ClientService
Registers the function with the specified serialized byte array of a FunctionRegistrationRequest.
registerFunction(FunctionRegistrationRequest) - Method in interface com.scalar.dl.client.service.ClientServiceHandler
Registers the function with the specified FunctionRegistrationRequest.
registerFunction(FunctionRegistrationRequest) - Method in class com.scalar.dl.client.service.DefaultClientServiceHandler
Registers the function with the specified FunctionRegistrationRequest.
registerFunction(FunctionRegistrationRequest) - Method in class com.scalar.dl.client.service.GatewayClientServiceHandler
Registers the function with the specified FunctionRegistrationRequest.
registerFunction(String, String, byte[]) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the specified function.
registerFunction(String, String, String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the specified function.
registerFunction(byte[]) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the function with the specified serialized byte array of a FunctionRegistrationRequest.
registerSecret() - Method in class com.scalar.dl.client.service.ClientService
Registers the secret key specified in the given ClientConfig for HMAC authentication.
registerSecret(byte[]) - Method in class com.scalar.dl.client.service.ClientService
Registers the secret key specified with the serialized byte array of a SecretRegistrationRequest for HMAC authentication.
registerSecret(SecretRegistrationRequest) - Method in interface com.scalar.dl.client.service.ClientServiceHandler
Registers the secret key with the specified SecretRegistrationRequest for HMAC authentication.
registerSecret(SecretRegistrationRequest) - Method in class com.scalar.dl.client.service.DefaultClientServiceHandler
Registers the secret key with the specified SecretRegistrationRequest for HMAC authentication.
registerSecret(SecretRegistrationRequest) - Method in class com.scalar.dl.client.service.GatewayClientServiceHandler
Registers the secret key with the specified SecretRegistrationRequest for HMAC authentication.
registerSecret() - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the secret key specified in the given ClientConfig for HMAC authentication.
registerSecret(byte[]) - Method in class com.scalar.dl.client.service.GenericContractClientService
Registers the secret key specified with the serialized byte array of a SecretRegistrationRequest for HMAC authentication.
render(CommandLine.Help) - Method in class com.scalar.dl.client.tool.CommandGroupRenderer
 
RequestSigner - Class in com.scalar.dl.client.util
 
RequestSigner(SignatureSigner) - Constructor for class com.scalar.dl.client.util.RequestSigner
 
retrieve(AssetProofRetrievalRequest) - Method in class com.scalar.dl.client.service.LedgerClient
 
RpcUtil - Class in com.scalar.dl.client.rpc
 
RpcUtil() - Constructor for class com.scalar.dl.client.rpc.RpcUtil
 

S

ScalarDlCommandLine - Class in com.scalar.dl.client.tool
 
ScalarDlCommandLine() - Constructor for class com.scalar.dl.client.tool.ScalarDlCommandLine
 
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) - 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(AssetFilter) - Method in interface com.scalar.dl.ledger.statemachine.Ledger
Retrieves a list of Asset entries from the ledger with the specified AssetFilter.
secretKey(String) - Method in class com.scalar.dl.client.config.HmacIdentityConfig.Builder
 
secretKeyVersion(int) - Method in class com.scalar.dl.client.config.HmacIdentityConfig.Builder
 
SecretRegistration - Class in com.scalar.dl.client.tool
 
SecretRegistration() - Constructor for class com.scalar.dl.client.tool.SecretRegistration
 
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_HOST - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.server.host (Optional)
A hostname or an IP address of the server ("localhost" by default).
SERVER_PORT - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.server.port (Optional)
A port number of the server (50051 by default).
SERVER_PRIVILEGED_PORT - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.server.privileged_port (Optional)
A port number of the server for privileged services (50052 by default).
setRoot(boolean) - Method in class com.scalar.dl.ledger.contract.ContractMachine
 
shutdown() - Method in class com.scalar.dl.client.service.AuditorClient
 
shutdown() - Method in interface com.scalar.dl.client.service.Client
 
shutdown() - Method in class com.scalar.dl.client.service.GatewayClient
 
shutdown() - Method in class com.scalar.dl.client.service.LedgerClient
 
sign(ContractRegistrationRequest.Builder) - Method in class com.scalar.dl.client.util.RequestSigner
 
sign(ContractsListingRequest.Builder) - Method in class com.scalar.dl.client.util.RequestSigner
 
sign(ContractExecutionRequest.Builder) - Method in class com.scalar.dl.client.util.RequestSigner
 
sign(LedgerValidationRequest.Builder) - Method in class com.scalar.dl.client.util.RequestSigner
 
sign(AssetProofRetrievalRequest.Builder) - Method in class com.scalar.dl.client.util.RequestSigner
 
sign(ExecutionAbortRequest.Builder) - Method in class com.scalar.dl.client.util.RequestSigner
 
SIGNATURE - Static variable in class com.scalar.dl.ledger.contract.ContractEntry
 
SmallbankBench - Class in com.scalar.dl.client.tool
 
SmallbankBench() - Constructor for class com.scalar.dl.client.tool.SmallbankBench
 
SmallbankLoader - Class in com.scalar.dl.client.tool
 
SmallbankLoader() - Constructor for class com.scalar.dl.client.tool.SmallbankLoader
 
stacktraceEnabled - Variable in class com.scalar.dl.client.tool.CommonOptions
 
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
 
STATUS_TRAILER_KEY - Static variable in interface com.scalar.dl.client.service.Client
 
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
 

T

throwExceptionWithStatusCode(Exception) - Method in interface com.scalar.dl.client.service.Client
 
TLS_CA_ROOT_CERT_PATH - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.tls.ca_root_cert_path (Optional)
A custom CA root certificate (file path) for TLS communication for Ledger.
TLS_CA_ROOT_CERT_PEM - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.tls.ca_root_cert_pem (Optional)
A custom CA root certificate (PEM data) for TLS communication for Ledger.
TLS_ENABLED - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.tls.enabled (Optional)
A flag to enable TLS communication for Ledger (false by default).
TLS_OVERRIDE_AUTHORITY - Static variable in class com.scalar.dl.client.config.ClientConfig
scalar.dl.client.tls.override_authority (Optional)
A custom authority for TLS communication for Ledger.
toJsonObject(String) - Method in interface com.scalar.dl.client.service.Client
 

U

unbind(ContractEntry.Key) - Method in interface com.scalar.dl.ledger.database.ContractRegistry
 
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
 
UnknownTransactionStatusException(ScalarDlError, Throwable, String, Object...) - 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
 
UnloadableContractException(ScalarDlError, Object...) - Constructor for exception com.scalar.dl.ledger.exception.UnloadableContractException
 
UnloadableContractException(ScalarDlError, Throwable, Object...) - 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
 
UnloadableFunctionException(ScalarDlError, Object...) - Constructor for exception com.scalar.dl.ledger.exception.UnloadableFunctionException
 
UnloadableFunctionException(ScalarDlError, Throwable, Object...) - Constructor for exception com.scalar.dl.ledger.exception.UnloadableFunctionException
 
useGateway - Variable in class com.scalar.dl.client.tool.CommonOptions
 

V

validate(ExecutionValidationRequest) - Method in class com.scalar.dl.client.service.AuditorClient
 
validate(LedgerValidationRequest) - Method in class com.scalar.dl.client.service.GatewayClient
 
validate(LedgerValidationRequest) - Method in class com.scalar.dl.client.service.LedgerClient
 
validateAuditorSignatureWith(SignatureValidator) - Method in class com.scalar.dl.ledger.model.ContractExecutionRequest
Validates if the signature from an auditor is not tampered
validateCollection(String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified collection in the ledger.
validateCollection(String, int, int) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified collection in the ledger.
validateIndexRecord(String, String, JsonValue) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified index record in the ledger.
validateIndexRecord(String, String, JsonValue, int, int) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified index record in the ledger.
validateIndexRecord(String, String, ValueNode) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified index record in the ledger.
validateIndexRecord(String, String, ValueNode, int, int) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified index record in the ledger.
validateIndexRecord(String, String, String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified index record in the ledger.
validateIndexRecord(String, String, String, int, int) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified index record in the ledger.
validateLedger(String) - Method in class com.scalar.dl.client.service.ClientService
Validates the specified asset in the ledger.
validateLedger(String, int, int) - Method in class com.scalar.dl.client.service.ClientService
Validates the specified asset between the specified ages in the ledger.
validateLedger(byte[]) - Method in class com.scalar.dl.client.service.ClientService
Validates the specified asset in the ledger with the specified serialized byte array of a LedgerValidationRequest.
validateLedger(LedgerValidationRequest) - Method in interface com.scalar.dl.client.service.ClientServiceHandler
Validates the specified asset in the ledger with the specified LedgerValidationRequest.
validateLedger(LedgerValidationRequest) - Method in class com.scalar.dl.client.service.DefaultClientServiceHandler
Validates the specified asset in the ledger with the specified LedgerValidationRequest.
validateLedger(LedgerValidationRequest) - Method in class com.scalar.dl.client.service.GatewayClientServiceHandler
Validates the specified asset in the ledger with the specified LedgerValidationRequest.
validateLedger(AssetType, List<String>) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified asset in the ledger.
validateLedger(AssetType, List<String>, int, int) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified asset between the specified ages in the ledger.
validateLedger(byte[]) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified asset in the ledger with the specified serialized byte array of a LedgerValidationRequest.
ValidateLedger - Class in com.scalar.dl.client.validation.contract.v1_0_0
 
ValidateLedger() - Constructor for class com.scalar.dl.client.validation.contract.v1_0_0.ValidateLedger
 
validateObject(String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified object in the ledger.
validateObject(String, int, int) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified object in the ledger.
validateRecord(String, String, JsonValue) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified record in the ledger.
validateRecord(String, String, JsonValue, int, int) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified record in the ledger.
validateRecord(String, String, ValueNode) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified record in the ledger.
validateRecord(String, String, ValueNode, int, int) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified record in the ledger.
validateRecord(String, String, String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified record in the ledger.
validateRecord(String, String, String, int, int) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the specified record in the ledger.
validateTableSchema(String) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the schema of the specified table in the ledger.
validateTableSchema(String, int, int) - Method in class com.scalar.dl.client.service.GenericContractClientService
Validates the schema of the specified table in the ledger.
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.
valueOf(String) - Static method in enum com.scalar.dl.client.config.ClientMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.scalar.dl.client.error.ClientError
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.scalar.dl.client.tool.DeserializationFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.scalar.dl.ledger.database.AssetFilter.AgeOrder
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.scalar.dl.client.config.ClientMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.scalar.dl.client.error.ClientError
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.scalar.dl.client.tool.DeserializationFormat
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.database.AssetFilter.AgeOrder
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