- 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
-
- CertificateManager(CertificateRegistry) - Constructor for class com.scalar.dl.ledger.crypto.CertificateManager
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- get() - Method in class com.scalar.dl.ledger.asset.AssetHasher
-
- get(ContractEntry.Key) - Method in class com.scalar.dl.ledger.contract.ContractManager
-
- 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
-
- 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
-
- 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
-
- getValidator(String, int) - Method in class com.scalar.dl.ledger.crypto.ClientKeyValidator
-
- getValidator(SecretEntry.Key) - Method in class com.scalar.dl.ledger.crypto.SecretManager
-
- 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
-
- 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
-
- 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
ContractEntry
s 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
-
- SecretManager(SecretRegistry) - Constructor for class com.scalar.dl.ledger.crypto.SecretManager
-
- 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
-