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

A

accept(T) - Method in interface com.scalar.dl.ledger.service.ThrowableConsumer
 
addShutdownHook() - Method in class com.scalar.dl.ledger.server.BaseServer
 
age(int) - Method in class com.scalar.dl.ledger.asset.AssetProof.Builder
Deprecated.
 
age(int) - Method in class com.scalar.dl.ledger.proof.AssetProof.Builder
 
age() - Method in interface com.scalar.dl.ledger.statemachine.InternalAsset
 
apply(T) - Method in interface com.scalar.dl.ledger.service.ThrowableFunction
 
argument(String) - Method in class com.scalar.dl.ledger.proof.RequestProof.Builder
 
argument() - Method in interface com.scalar.dl.ledger.statemachine.InternalAsset
 
Argument - Class in com.scalar.dl.ledger.util
A helper class that formats and extracts from a contract argument.
Argument() - Constructor for class com.scalar.dl.ledger.util.Argument
 
AssetProof - Class in com.scalar.dl.ledger.asset
Deprecated.
AssetProof(AssetProof) - Constructor for class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Constructs an AssetProof with the specified AssetProof
AssetProof(AssetProof) - Constructor for class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
 
AssetProof - Class in com.scalar.dl.ledger.proof
A proof stored in client-side to validate the server ledger states.
AssetProof(AssetProof) - Constructor for class com.scalar.dl.ledger.proof.AssetProof
Constructs an AssetProof with the specified AssetProof
AssetProof.Builder - Class in com.scalar.dl.ledger.asset
Deprecated.
 
AssetProof.Builder - Class in com.scalar.dl.ledger.proof
 
AssetProof.Key - Class in com.scalar.dl.ledger.asset
Deprecated.
 
AssetProof.Key - Class in com.scalar.dl.ledger.proof
 
AssetProof.Range - Class in com.scalar.dl.ledger.asset
Deprecated.
 
AssetProof.Range - Class in com.scalar.dl.ledger.proof
 
AssetProof.Range.Builder - Class in com.scalar.dl.ledger.asset
Deprecated.
 
AssetProof.Range.Builder - Class in com.scalar.dl.ledger.proof
 
AssetProof.Range.Order - Enum in com.scalar.dl.ledger.asset
Deprecated.
 
AssetProof.Range.Order - Enum in com.scalar.dl.ledger.proof
 
AuthenticationMethod - Enum in com.scalar.dl.ledger.config
 
authorizationCredential(String) - Method in class com.scalar.dl.ledger.config.TargetConfig.Builder
 
awaitDrained(long, TimeUnit) - Method in class com.scalar.dl.ledger.server.GateKeeper
Waits for the server to finish outstanding requests, giving up if the timeout is reached.

B

BaseServer - Class in com.scalar.dl.ledger.server
 
BaseServer(Injector, ServerConfig) - Constructor for class com.scalar.dl.ledger.server.BaseServer
 
blockUntilShutdown() - Method in class com.scalar.dl.ledger.server.BaseServer
Await termination on the main thread since the grpc library uses daemon threads.
build() - Method in class com.scalar.dl.ledger.asset.AssetProof.Builder
Deprecated.
 
build() - Method in class com.scalar.dl.ledger.asset.AssetProof.Range.Builder
Deprecated.
 
build() - Method in class com.scalar.dl.ledger.config.GrpcClientConfig.Builder
 
build() - Method in class com.scalar.dl.ledger.config.GrpcServerConfig.Builder
 
build() - Method in class com.scalar.dl.ledger.config.TargetConfig.Builder
 
build() - Method in class com.scalar.dl.ledger.proof.AssetProof.Builder
 
build() - Method in class com.scalar.dl.ledger.proof.AssetProof.Range.Builder
 
build() - Method in class com.scalar.dl.ledger.proof.RequestProof.Builder
 

C

check(HealthCheckRequest, StreamObserver<HealthCheckResponse>) - Method in class com.scalar.dl.ledger.server.HealthService
 
Cipher - Class in com.scalar.dl.ledger.crypto
 
Cipher(SecretKey) - Constructor for class com.scalar.dl.ledger.crypto.Cipher
 
CipherFactory - Class in com.scalar.dl.ledger.crypto
 
CipherFactory() - Constructor for class com.scalar.dl.ledger.crypto.CipherFactory
 
close() - Method in class com.scalar.dl.ledger.server.GateKeeper
Closes the gate to disallow incoming requests to be processed.
close() - Method in class com.scalar.dl.ledger.server.Stats.TimerContext
 
com.scalar - package com.scalar
 
CommonService - Class in com.scalar.dl.ledger.server
 
CommonService(Stats, GateKeeper) - Constructor for class com.scalar.dl.ledger.server.CommonService
 
CommonTypeConverter - Class in com.scalar.dl.ledger.server
 
CommonTypeConverter() - Constructor for class com.scalar.dl.ledger.server.CommonTypeConverter
 
compareTo(AssetProof.Key) - Method in class com.scalar.dl.ledger.asset.AssetProof.Key
Deprecated.
 
compareTo(AssetProof.Range) - Method in class com.scalar.dl.ledger.asset.AssetProof.Range
Deprecated.
 
compareTo(AssetProof.Key) - Method in class com.scalar.dl.ledger.proof.AssetProof.Key
 
compareTo(AssetProof.Range) - Method in class com.scalar.dl.ledger.proof.AssetProof.Range
 
compareTo(RequestProof.Key) - Method in class com.scalar.dl.ledger.proof.RequestProof.Key
 
ConfigUtils - Class in com.scalar.dl.ledger.config
A utility class for retrieving configuration values from Properties.
Constants - Class in com.scalar.dl.ledger.service
 
Constants() - Constructor for class com.scalar.dl.ledger.service.Constants
 
ContractExecutionResult - Class in com.scalar.dl.ledger.model
The result of contract execution.
ContractExecutionResult(String, String, List<AssetProof>, List<AssetProof>) - Constructor for class com.scalar.dl.ledger.model.ContractExecutionResult
Constructs a ContractExecutionResult with the specified results and list of AssetProofs.
contractId(String) - Method in class com.scalar.dl.ledger.proof.RequestProof.Builder
 
contractId() - Method in interface com.scalar.dl.ledger.statemachine.InternalAsset
 
convert(LedgerValidationResult) - Static method in class com.scalar.dl.ledger.server.CommonTypeConverter
 
convert(ContractExecutionResult) - Static method in class com.scalar.dl.ledger.server.CommonTypeConverter
 
convert(AssetProof) - Static method in class com.scalar.dl.ledger.server.CommonTypeConverter
 
convert(AssetProof) - Static method in class com.scalar.dl.ledger.server.CommonTypeConverter
 
create(String, byte[]) - Static method in class com.scalar.dl.ledger.crypto.CipherFactory
 
createKeyStore(String, String, String) - Static method in class com.scalar.dl.ledger.server.TlsUtils
 

D

data() - Method in interface com.scalar.dl.ledger.statemachine.InternalAsset
 
deadlineDurationMillis(long) - Method in class com.scalar.dl.ledger.config.GrpcClientConfig.Builder
 
decommission() - Method in class com.scalar.dl.ledger.server.HealthService
 
decrypt(byte[], String) - Method in class com.scalar.dl.ledger.crypto.Cipher
 
deserialize(String) - Method in class com.scalar.dl.ledger.util.JacksonSerDe
 
deserialize(String) - Method in class com.scalar.dl.ledger.util.JsonpSerDe
 
deserialize(String) - Method in interface com.scalar.dl.ledger.util.JsonSerDe
 
DigitalSignatureSigner - Class in com.scalar.dl.ledger.crypto
A signer for a byte array with a specified private key supplied in pem format.
DigitalSignatureSigner(Path) - Constructor for class com.scalar.dl.ledger.crypto.DigitalSignatureSigner
 
DigitalSignatureSigner(Path, String) - Constructor for class com.scalar.dl.ledger.crypto.DigitalSignatureSigner
 
DigitalSignatureSigner(String) - Constructor for class com.scalar.dl.ledger.crypto.DigitalSignatureSigner
 
DigitalSignatureSigner(String, String) - Constructor for class com.scalar.dl.ledger.crypto.DigitalSignatureSigner
 
DigitalSignatureValidator - Class in com.scalar.dl.ledger.crypto
A validator used to validate that a given byte array was signed by the private key corresponding to the specified certificate using the specified algorithm.
DigitalSignatureValidator(Path) - Constructor for class com.scalar.dl.ledger.crypto.DigitalSignatureValidator
 
DigitalSignatureValidator(Path, String) - Constructor for class com.scalar.dl.ledger.crypto.DigitalSignatureValidator
 
DigitalSignatureValidator(String) - Constructor for class com.scalar.dl.ledger.crypto.DigitalSignatureValidator
 
DigitalSignatureValidator(String, String) - Constructor for class com.scalar.dl.ledger.crypto.DigitalSignatureValidator
 

E

emptyTimerContext() - Static method in class com.scalar.dl.ledger.server.Stats
 
encrypt(byte[], String) - Method in class com.scalar.dl.ledger.crypto.Cipher
 
endAge(int) - Method in class com.scalar.dl.ledger.asset.AssetProof.Range.Builder
Deprecated.
 
endAge(int) - Method in class com.scalar.dl.ledger.proof.AssetProof.Range.Builder
 
endInclusive(boolean) - Method in class com.scalar.dl.ledger.asset.AssetProof.Range.Builder
Deprecated.
 
endInclusive(boolean) - Method in class com.scalar.dl.ledger.proof.AssetProof.Range.Builder
 
entityId(String) - Method in class com.scalar.dl.ledger.proof.RequestProof.Builder
 
equals(Object) - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.asset.AssetProof.Key
Deprecated.
 
equals(Object) - Method in class com.scalar.dl.ledger.asset.AssetProof.Range
Deprecated.
 
equals(Object) - Method in class com.scalar.dl.ledger.config.GrpcClientConfig
 
equals(Object) - Method in class com.scalar.dl.ledger.config.GrpcServerConfig
 
equals(Object) - Method in class com.scalar.dl.ledger.config.TargetConfig
 
equals(Object) - Method in class com.scalar.dl.ledger.crypto.DigitalSignatureValidator
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.crypto.HmacSigner
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.crypto.HmacValidator
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.model.ContractExecutionResult
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.model.LedgersValidationResult
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.model.LedgerValidationResult
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.proof.AssetProof
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.proof.AssetProof.Key
 
equals(Object) - Method in class com.scalar.dl.ledger.proof.AssetProof.Range
 
equals(Object) - Method in class com.scalar.dl.ledger.proof.RequestProof
Indicates whether some other object is "equal to" this object.
equals(Object) - Method in class com.scalar.dl.ledger.proof.RequestProof.Key
 

F

finalize() - Method in class com.scalar.dl.ledger.crypto.DigitalSignatureSigner
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.crypto.DigitalSignatureValidator
SpotBugs detects Bug Type "CT_CONSTRUCTOR_THROW" saying that "The object under construction remains partially initialized and may be vulnerable to Finalizer attacks."
format(Object, String, List<String>) - Static method in class com.scalar.dl.ledger.util.Argument
 
format(JsonObject, String) - Static method in class com.scalar.dl.ledger.util.Argument
Deprecated.
FUNCTIONS_KEY - Static variable in class com.scalar.dl.ledger.util.Argument
 

G

GateKeeper - Class in com.scalar.dl.ledger.server
A gatekeeper that manages the front gate of the server that processes requests.
GateKeeper() - Constructor for class com.scalar.dl.ledger.server.GateKeeper
 
get(String) - Static method in enum com.scalar.dl.ledger.config.AuthenticationMethod
 
get() - Method in enum com.scalar.dl.ledger.database.TransactionState
 
get() - Method in enum com.scalar.dl.ledger.service.StatusCode
 
get(int) - Static method in enum com.scalar.dl.ledger.service.StatusCode
 
getAdminPort() - Method in interface com.scalar.dl.ledger.config.ServerConfig
 
getAge() - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Returns the asset entry's age assigned by the server.
getAge() - Method in class com.scalar.dl.ledger.asset.AssetProof.Key
Deprecated.
 
getAge() - Method in class com.scalar.dl.ledger.proof.AssetProof
Returns the asset entry's age assigned by the server.
getAge() - Method in class com.scalar.dl.ledger.proof.AssetProof.Key
 
getArgument() - Method in class com.scalar.dl.ledger.proof.RequestProof
 
getAuditorProof() - Method in class com.scalar.dl.ledger.model.LedgerValidationResult
Returns the proof of the asset from Auditor.
getAuditorProofs() - Method in class com.scalar.dl.ledger.model.ContractExecutionResult
Returns the list of AssetProofs from Auditor.
getBoolean(Properties, String, boolean) - Static method in class com.scalar.dl.ledger.config.ConfigUtils
 
getBoolean(Properties, String, Boolean) - Static method in class com.scalar.dl.ledger.config.ConfigUtils
 
getCode() - Method in exception com.scalar.dl.ledger.exception.LedgerException
 
getCode() - Method in class com.scalar.dl.ledger.model.LedgersValidationResult
Returns a status code from a validation.
getCode() - Method in class com.scalar.dl.ledger.model.LedgerValidationResult
Returns the status code.
getContractArgument() - Method in class com.scalar.dl.ledger.proof.RequestProof
 
getContractArgument(String) - Static method in class com.scalar.dl.ledger.util.Argument
 
getContractId() - Method in class com.scalar.dl.ledger.proof.RequestProof
 
getContractResult() - Method in class com.scalar.dl.ledger.model.ContractExecutionResult
Returns the result of contract execution.
getCurrentUtcTimeInMillis() - Static method in class com.scalar.dl.ledger.util.Time
 
getDeadlineDurationMillis() - Method in class com.scalar.dl.ledger.config.GrpcClientConfig
 
getDecommissioningDurationSecs() - Method in interface com.scalar.dl.ledger.config.ServerConfig
 
getEndAge() - Method in class com.scalar.dl.ledger.asset.AssetProof.Range
Deprecated.
 
getEndAge() - Method in class com.scalar.dl.ledger.proof.AssetProof.Range
 
getEntityId() - Method in class com.scalar.dl.ledger.proof.RequestProof
 
getExceptionWithTrailers(StatusCode, String) - Method in class com.scalar.dl.ledger.server.CommonService
 
getFunctionIds(String) - Static method in class com.scalar.dl.ledger.util.Argument
Deprecated.
getFunctionIds(JsonObject) - Static method in class com.scalar.dl.ledger.util.Argument
Deprecated.
getFunctionResult() - Method in class com.scalar.dl.ledger.model.ContractExecutionResult
Returns the result of function execution.
getGrpcClientConfig() - Method in class com.scalar.dl.ledger.config.TargetConfig
 
getGrpcServerConfig() - Method in interface com.scalar.dl.ledger.config.ServerConfig
 
getHash() - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Returns the hash of the asset entry.
getHash() - Method in class com.scalar.dl.ledger.proof.AssetProof
Returns the hash of the asset entry.
getId() - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Returns the asset's id.
getId() - Method in class com.scalar.dl.ledger.asset.AssetProof.Key
Deprecated.
 
getId() - Method in class com.scalar.dl.ledger.asset.AssetProof.Range
Deprecated.
 
getId() - Method in class com.scalar.dl.ledger.proof.AssetProof
Returns the asset's id.
getId() - Method in class com.scalar.dl.ledger.proof.AssetProof.Key
 
getId() - Method in class com.scalar.dl.ledger.proof.AssetProof.Range
 
getInput() - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
 
getInput() - Method in class com.scalar.dl.ledger.proof.AssetProof
 
getInstance(int) - Static method in enum com.scalar.dl.ledger.database.TransactionState
 
getInt(Properties, String, int) - Static method in class com.scalar.dl.ledger.config.ConfigUtils
 
getInt(Properties, String, Integer) - Static method in class com.scalar.dl.ledger.config.ConfigUtils
 
getKey() - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Returns the Key of the AssetProof.
getKey() - Method in class com.scalar.dl.ledger.proof.AssetProof
Returns the Key of the AssetProof.
getKey() - Method in class com.scalar.dl.ledger.proof.RequestProof
Returns the Key of the RequestProof.
getKeyVersion() - Method in class com.scalar.dl.ledger.proof.RequestProof
 
getLedgerProof() - Method in class com.scalar.dl.ledger.model.LedgerValidationResult
Returns the proof of the asset from Ledger.
getLedgerProofs() - Method in class com.scalar.dl.ledger.model.ContractExecutionResult
Returns the list of AssetProofs from Ledger.
getLimit() - Method in class com.scalar.dl.ledger.asset.AssetProof.Range
Deprecated.
 
getLimit() - Method in class com.scalar.dl.ledger.proof.AssetProof.Range
 
getLong(Properties, String, long) - Static method in class com.scalar.dl.ledger.config.ConfigUtils
 
getLong(Properties, String, Long) - Static method in class com.scalar.dl.ledger.config.ConfigUtils
 
getMaxInboundMessageSize() - Method in class com.scalar.dl.ledger.config.GrpcClientConfig
 
getMaxInboundMessageSize() - Method in class com.scalar.dl.ledger.config.GrpcServerConfig
 
getMaxInboundMetadataSize() - Method in class com.scalar.dl.ledger.config.GrpcClientConfig
 
getMaxInboundMetadataSize() - Method in class com.scalar.dl.ledger.config.GrpcServerConfig
 
getMethod() - Method in enum com.scalar.dl.ledger.config.AuthenticationMethod
 
getName() - Method in interface com.scalar.dl.ledger.config.ServerConfig
 
getNonce() - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Returns the nonce of the asset entry.
getNonce() - Method in class com.scalar.dl.ledger.proof.AssetProof
Returns the nonce of the asset entry.
getNonce() - Method in class com.scalar.dl.ledger.proof.RequestProof
Returns the nonce of the proof.
getNonce() - Method in class com.scalar.dl.ledger.proof.RequestProof.Key
 
getNonce(String) - Static method in class com.scalar.dl.ledger.util.Argument
 
getNumOutstandingRequests() - Method in class com.scalar.dl.ledger.server.GateKeeper
Returns the number of outstanding requests.
getObjectMapper() - Method in class com.scalar.dl.ledger.util.JacksonSerDe
 
getOrder() - Method in class com.scalar.dl.ledger.asset.AssetProof.Range
Deprecated.
 
getOrder() - Method in class com.scalar.dl.ledger.proof.AssetProof.Range
 
getPort() - Method in interface com.scalar.dl.ledger.config.ServerConfig
 
getPrevHash() - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Returns the prev_hash of the asset entry.
getPrevHash() - Method in class com.scalar.dl.ledger.proof.AssetProof
Returns the prev_hash of the asset entry.
getPrivilegedPort() - Method in interface com.scalar.dl.ledger.config.ServerConfig
 
getPrometheusExporterPort() - Method in interface com.scalar.dl.ledger.config.ServerConfig
 
getProof() - Method in class com.scalar.dl.ledger.model.LedgerValidationResult
Deprecated.
This method will be removed in release 5.0.0
getProofs() - Method in class com.scalar.dl.ledger.model.ContractExecutionResult
Deprecated.
This method will be removed in release 5.0.0
getProofs() - Method in class com.scalar.dl.ledger.model.LedgersValidationResult
Returns the proofs of an asset from multiple ledgers.
getResult() - Method in class com.scalar.dl.ledger.model.ContractExecutionResult
Deprecated.
This method will be removed in release 5.0.0
getServersAuthenticationHmacSecretKey() - Method in interface com.scalar.dl.ledger.config.ServersHmacAuthenticatable
 
getServerTlsCertChainPath() - Method in interface com.scalar.dl.ledger.config.ServerConfig
 
getServerTlsPrivateKeyPath() - Method in interface com.scalar.dl.ledger.config.ServerConfig
 
getServiceName() - Method in interface com.scalar.dl.ledger.config.ServerConfig
 
getSignature() - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Returns the signature of the proof entry.
getSignature() - Method in class com.scalar.dl.ledger.proof.AssetProof
Returns the signature of the proof entry.
getSignature() - Method in class com.scalar.dl.ledger.proof.RequestProof
Returns the signature of the proof.
getStartAge() - Method in class com.scalar.dl.ledger.asset.AssetProof.Range
Deprecated.
 
getStartAge() - Method in class com.scalar.dl.ledger.proof.AssetProof.Range
 
getString(Properties, String, String) - Static method in class com.scalar.dl.ledger.config.ConfigUtils
 
getStringArray(Properties, String, String[]) - Static method in class com.scalar.dl.ledger.config.ConfigUtils
 
getStringFromFilePath(Properties, String, String) - Static method in class com.scalar.dl.ledger.config.ConfigUtils
 
getTargetAuthorizationCredential() - Method in class com.scalar.dl.ledger.config.TargetConfig
 
getTargetHost() - Method in class com.scalar.dl.ledger.config.TargetConfig
 
getTargetPort() - Method in class com.scalar.dl.ledger.config.TargetConfig
 
getTargetPrivilegedPort() - Method in class com.scalar.dl.ledger.config.TargetConfig
 
getTargetTlsCaRootCert() - Method in class com.scalar.dl.ledger.config.TargetConfig
 
getTargetTlsOverrideAuthority() - Method in class com.scalar.dl.ledger.config.TargetConfig
 
getTotalFailure() - Method in class com.scalar.dl.ledger.server.Stats
 
getTotalSuccess() - Method in class com.scalar.dl.ledger.server.Stats
 
GrpcClientConfig - Class in com.scalar.dl.ledger.config
 
grpcClientConfig(GrpcClientConfig) - Method in class com.scalar.dl.ledger.config.TargetConfig.Builder
 
GrpcClientConfig.Builder - Class in com.scalar.dl.ledger.config
 
GrpcServerConfig - Class in com.scalar.dl.ledger.config
 
GrpcServerConfig.Builder - Class in com.scalar.dl.ledger.config
 

H

hash(byte[]) - Method in class com.scalar.dl.ledger.asset.AssetProof.Builder
Deprecated.
 
hash(byte[]) - Method in class com.scalar.dl.ledger.proof.AssetProof.Builder
 
hash() - Method in interface com.scalar.dl.ledger.statemachine.InternalAsset
 
hashCode() - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.asset.AssetProof.Key
Deprecated.
 
hashCode() - Method in class com.scalar.dl.ledger.asset.AssetProof.Range
Deprecated.
 
hashCode() - Method in class com.scalar.dl.ledger.config.GrpcClientConfig
 
hashCode() - Method in class com.scalar.dl.ledger.config.GrpcServerConfig
 
hashCode() - Method in class com.scalar.dl.ledger.config.TargetConfig
 
hashCode() - Method in class com.scalar.dl.ledger.crypto.DigitalSignatureValidator
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.crypto.HmacSigner
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.crypto.HmacValidator
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.ContractExecutionResult
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.LedgersValidationResult
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.model.LedgerValidationResult
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.proof.AssetProof
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.proof.AssetProof.Key
 
hashCode() - Method in class com.scalar.dl.ledger.proof.AssetProof.Range
 
hashCode() - Method in class com.scalar.dl.ledger.proof.RequestProof
Returns a hash code value for the object.
hashCode() - Method in class com.scalar.dl.ledger.proof.RequestProof.Key
 
HealthService - Class in com.scalar.dl.ledger.server
 
HealthService() - Constructor for class com.scalar.dl.ledger.server.HealthService
 
HmacSigner - Class in com.scalar.dl.ledger.crypto
A HMAC signer for a byte array with a specified secret key.
HmacSigner(String) - Constructor for class com.scalar.dl.ledger.crypto.HmacSigner
 
HmacValidator - Class in com.scalar.dl.ledger.crypto
A HMAC signer for a byte array with a specified secret key.
HmacValidator(String) - Constructor for class com.scalar.dl.ledger.crypto.HmacValidator
 
host(String) - Method in class com.scalar.dl.ledger.config.TargetConfig.Builder
 

I

id(String) - Method in class com.scalar.dl.ledger.asset.AssetProof.Builder
Deprecated.
 
id(String) - Method in class com.scalar.dl.ledger.asset.AssetProof.Range.Builder
Deprecated.
 
id(String) - Method in class com.scalar.dl.ledger.proof.AssetProof.Builder
 
id(String) - Method in class com.scalar.dl.ledger.proof.AssetProof.Range.Builder
 
id() - Method in interface com.scalar.dl.ledger.statemachine.InternalAsset
 
incrementCounter(String, boolean) - Method in class com.scalar.dl.ledger.server.Stats
 
incrementTotalFailure() - Method in class com.scalar.dl.ledger.server.Stats
 
incrementTotalSuccess() - Method in class com.scalar.dl.ledger.server.Stats
 
input(JsonObject) - Method in class com.scalar.dl.ledger.asset.AssetProof.Builder
Deprecated.
 
input(String) - Method in class com.scalar.dl.ledger.proof.AssetProof.Builder
 
input() - Method in interface com.scalar.dl.ledger.statemachine.InternalAsset
 
InternalAsset - Interface in com.scalar.dl.ledger.statemachine
An abstraction for the internal representation of an asset.
InvalidJsonException - Exception in com.scalar.dl.ledger.exception
 
InvalidJsonException(String) - Constructor for exception com.scalar.dl.ledger.exception.InvalidJsonException
 
InvalidJsonException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.InvalidJsonException
 
isEndInclusive() - Method in class com.scalar.dl.ledger.asset.AssetProof.Range
Deprecated.
 
isEndInclusive() - Method in class com.scalar.dl.ledger.proof.AssetProof.Range
 
isOpen() - Method in class com.scalar.dl.ledger.server.GateKeeper
Returns if the gate is open or not.
isServerTlsEnabled() - Method in interface com.scalar.dl.ledger.config.ServerConfig
 
isStartInclusive() - Method in class com.scalar.dl.ledger.asset.AssetProof.Range
Deprecated.
 
isStartInclusive() - Method in class com.scalar.dl.ledger.proof.AssetProof.Range
 
isTargetTlsEnabled() - Method in class com.scalar.dl.ledger.config.TargetConfig
 

J

JacksonSerDe - Class in com.scalar.dl.ledger.util
 
JacksonSerDe(ObjectMapper) - Constructor for class com.scalar.dl.ledger.util.JacksonSerDe
 
JsonpSerDe - Class in com.scalar.dl.ledger.util
 
JsonpSerDe() - Constructor for class com.scalar.dl.ledger.util.JsonpSerDe
 
JsonSerDe<T> - Interface in com.scalar.dl.ledger.util
 

K

Key(String, int) - Constructor for class com.scalar.dl.ledger.asset.AssetProof.Key
Deprecated.
 
Key(String, int) - Constructor for class com.scalar.dl.ledger.proof.AssetProof.Key
 
Key(String) - Constructor for class com.scalar.dl.ledger.proof.RequestProof.Key
 
KeyException - Exception in com.scalar.dl.ledger.exception
 
KeyException(String, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.KeyException
 
KeyException(String, Throwable, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.KeyException
 
KEYS_JSON_NAME - Static variable in class com.scalar.dl.ledger.service.Constants
 
keyVersion(int) - Method in class com.scalar.dl.ledger.proof.RequestProof.Builder
 

L

LedgerException - Exception in com.scalar.dl.ledger.exception
 
LedgerException(String, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.LedgerException
 
LedgerException(String, Throwable, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.LedgerException
 
LedgersValidationResult - Class in com.scalar.dl.ledger.model
 
LedgersValidationResult(StatusCode, Map<String, AssetProof>) - Constructor for class com.scalar.dl.ledger.model.LedgersValidationResult
 
LedgerValidationResult - Class in com.scalar.dl.ledger.model
 
LedgerValidationResult(StatusCode, AssetProof, AssetProof) - Constructor for class com.scalar.dl.ledger.model.LedgerValidationResult
Constructs a LedgerValidationResult with the specified status code, asset proof from Ledger, and asset proof from Auditor.
letIn() - Method in class com.scalar.dl.ledger.server.GateKeeper
Lets a new request in to process it in the server if the gate is open.
letOut() - Method in class com.scalar.dl.ledger.server.GateKeeper
Lets a processed request out.
limit(int) - Method in class com.scalar.dl.ledger.asset.AssetProof.Range.Builder
Deprecated.
 
limit(int) - Method in class com.scalar.dl.ledger.proof.AssetProof.Range.Builder
 

M

maxInboundMessageSize(int) - Method in class com.scalar.dl.ledger.config.GrpcClientConfig.Builder
 
maxInboundMessageSize(int) - Method in class com.scalar.dl.ledger.config.GrpcServerConfig.Builder
 
maxInboundMetadataSize(int) - Method in class com.scalar.dl.ledger.config.GrpcClientConfig.Builder
 
maxInboundMetadataSize(int) - Method in class com.scalar.dl.ledger.config.GrpcServerConfig.Builder
 
measureTime(String) - Method in class com.scalar.dl.ledger.server.Stats
 

N

newBuilder() - Static method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
 
newBuilder() - Static method in class com.scalar.dl.ledger.asset.AssetProof.Range
Deprecated.
 
newBuilder() - Static method in class com.scalar.dl.ledger.config.GrpcClientConfig
 
newBuilder() - Static method in class com.scalar.dl.ledger.config.GrpcServerConfig
 
newBuilder() - Static method in class com.scalar.dl.ledger.config.TargetConfig
 
newBuilder() - Static method in class com.scalar.dl.ledger.proof.AssetProof
 
newBuilder() - Static method in class com.scalar.dl.ledger.proof.AssetProof.Range
 
newBuilder() - Static method in class com.scalar.dl.ledger.proof.RequestProof
 
nonce(String) - Method in class com.scalar.dl.ledger.asset.AssetProof.Builder
Deprecated.
 
nonce(String) - Method in class com.scalar.dl.ledger.proof.AssetProof.Builder
 
nonce(String) - Method in class com.scalar.dl.ledger.proof.RequestProof.Builder
 
NONCE_KEY_NAME - Static variable in class com.scalar.dl.ledger.util.Argument
 

O

open() - Method in class com.scalar.dl.ledger.server.GateKeeper
Opens the gate to allow incoming requests to be processed.
order(AssetProof.Range.Order) - Method in class com.scalar.dl.ledger.asset.AssetProof.Range.Builder
Deprecated.
 
order(AssetProof.Range.Order) - Method in class com.scalar.dl.ledger.proof.AssetProof.Range.Builder
 

P

port(int) - Method in class com.scalar.dl.ledger.config.TargetConfig.Builder
 
prevHash(byte[]) - Method in class com.scalar.dl.ledger.asset.AssetProof.Builder
Deprecated.
 
prevHash(byte[]) - Method in class com.scalar.dl.ledger.proof.AssetProof.Builder
 
prevHash() - Method in interface com.scalar.dl.ledger.statemachine.InternalAsset
 
privilegedPort(int) - Method in class com.scalar.dl.ledger.config.TargetConfig.Builder
 

R

RequestProof - Class in com.scalar.dl.ledger.proof
A proof stored in auditor to validate ledger states.
RequestProof.Builder - Class in com.scalar.dl.ledger.proof
 
RequestProof.Key - Class in com.scalar.dl.ledger.proof
 

S

SecurityException - Exception in com.scalar.dl.ledger.exception
 
SecurityException(String, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.SecurityException
 
SecurityException(String, Throwable, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.SecurityException
 
serialize(String, int, String, JsonObject, byte[], byte[]) - Static method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
 
serialize(String, int, String, String, byte[], byte[]) - Static method in class com.scalar.dl.ledger.proof.AssetProof
 
serialize(JsonNode) - Method in class com.scalar.dl.ledger.util.JacksonSerDe
 
serialize(JsonObject) - Method in class com.scalar.dl.ledger.util.JsonpSerDe
 
serialize(T) - Method in interface com.scalar.dl.ledger.util.JsonSerDe
 
serve(ThrowableConsumer<T>, T, StreamObserver<Empty>) - Method in class com.scalar.dl.ledger.server.CommonService
 
serve(ThrowableFunction<T, R>, T, StreamObserver<R>) - Method in class com.scalar.dl.ledger.server.CommonService
 
ServerConfig - Interface in com.scalar.dl.ledger.config
 
ServersHmacAuthenticatable - Interface in com.scalar.dl.ledger.config
 
sign(byte[]) - Method in class com.scalar.dl.ledger.crypto.DigitalSignatureSigner
Signs the given byte array with a Signature.
sign(byte[]) - Method in class com.scalar.dl.ledger.crypto.HmacSigner
Creates a HMAC hash (signature) for the given byte array.
sign(byte[]) - Method in interface com.scalar.dl.ledger.crypto.SignatureSigner
 
signature(byte[]) - Method in class com.scalar.dl.ledger.asset.AssetProof.Builder
Deprecated.
 
signature(byte[]) - Method in class com.scalar.dl.ledger.proof.AssetProof.Builder
 
signature(byte[]) - Method in class com.scalar.dl.ledger.proof.RequestProof.Builder
 
signature() - Method in interface com.scalar.dl.ledger.statemachine.InternalAsset
 
SignatureException - Exception in com.scalar.dl.ledger.exception
 
SignatureException(String) - Constructor for exception com.scalar.dl.ledger.exception.SignatureException
 
SignatureException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.SignatureException
 
SignatureSigner - Interface in com.scalar.dl.ledger.crypto
 
SignatureValidator - Interface in com.scalar.dl.ledger.crypto
 
start(Class<? extends BindableService>) - Method in class com.scalar.dl.ledger.server.BaseServer
A server for users.
startAdmin(Class<? extends BindableService>) - Method in class com.scalar.dl.ledger.server.BaseServer
A admin server for admins.
startAge(int) - Method in class com.scalar.dl.ledger.asset.AssetProof.Range.Builder
Deprecated.
 
startAge(int) - Method in class com.scalar.dl.ledger.proof.AssetProof.Range.Builder
 
startInclusive(boolean) - Method in class com.scalar.dl.ledger.asset.AssetProof.Range.Builder
Deprecated.
 
startInclusive(boolean) - Method in class com.scalar.dl.ledger.proof.AssetProof.Range.Builder
 
startJmxReporter() - Method in class com.scalar.dl.ledger.server.Stats
 
startPrivileged(Class<? extends BindableService>) - Method in class com.scalar.dl.ledger.server.BaseServer
A privileged server for privileged users.
startPrometheusExporter(ServerConfig) - Method in class com.scalar.dl.ledger.server.Stats
 
Stats - Class in com.scalar.dl.ledger.server
 
Stats(String, String) - Constructor for class com.scalar.dl.ledger.server.Stats
 
Stats.TimerContext - Class in com.scalar.dl.ledger.server
 
StatusCode - Enum in com.scalar.dl.ledger.service
Status code of registration or execution requests to ledger.

T

TargetConfig - Class in com.scalar.dl.ledger.config
 
TargetConfig.Builder - Class in com.scalar.dl.ledger.config
 
ThrowableConsumer<T> - Interface in com.scalar.dl.ledger.service
 
ThrowableFunction<T,R> - Interface in com.scalar.dl.ledger.service
 
Time - Class in com.scalar.dl.ledger.util
 
Time() - Constructor for class com.scalar.dl.ledger.util.Time
 
TimerContext(Timer.Context) - Constructor for class com.scalar.dl.ledger.server.Stats.TimerContext
 
tlsCaRootCert(String) - Method in class com.scalar.dl.ledger.config.TargetConfig.Builder
 
tlsEnabled(boolean) - Method in class com.scalar.dl.ledger.config.TargetConfig.Builder
 
tlsOverrideAuthority(String) - Method in class com.scalar.dl.ledger.config.TargetConfig.Builder
 
TlsUtils - Class in com.scalar.dl.ledger.server
 
toString() - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
 
toString() - Method in class com.scalar.dl.ledger.proof.AssetProof
 
toString() - Method in class com.scalar.dl.ledger.proof.RequestProof
 
TransactionState - Enum in com.scalar.dl.ledger.database
 

U

UnexpectedValueException - Exception in com.scalar.dl.ledger.exception
 
UnexpectedValueException() - Constructor for exception com.scalar.dl.ledger.exception.UnexpectedValueException
 
UnexpectedValueException(Throwable) - Constructor for exception com.scalar.dl.ledger.exception.UnexpectedValueException
 
UnexpectedValueException(String, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.UnexpectedValueException
 
UnexpectedValueException(String, Throwable, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.UnexpectedValueException
 
UnloadableKeyException - Exception in com.scalar.dl.ledger.exception
 
UnloadableKeyException(String) - Constructor for exception com.scalar.dl.ledger.exception.UnloadableKeyException
 
UnloadableKeyException(String, Throwable) - Constructor for exception com.scalar.dl.ledger.exception.UnloadableKeyException
 

V

validate(byte[], byte[]) - Method in class com.scalar.dl.ledger.crypto.DigitalSignatureValidator
Validates the signature corresponds to the certificate.
validate(byte[], byte[]) - Method in class com.scalar.dl.ledger.crypto.HmacValidator
Validates a given byte array with HMAC.
validate(byte[], byte[]) - Method in interface com.scalar.dl.ledger.crypto.SignatureValidator
 
validateWith(SignatureValidator) - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Validates if the proof is not tampered.
validateWith(SignatureValidator) - Method in class com.scalar.dl.ledger.proof.AssetProof
Validates if the proof is not tampered.
ValidationException - Exception in com.scalar.dl.ledger.exception
 
ValidationException(String, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.ValidationException
 
ValidationException(String, Throwable, StatusCode) - Constructor for exception com.scalar.dl.ledger.exception.ValidationException
 
valueEquals(Object) - Method in class com.scalar.dl.ledger.asset.AssetProof
Deprecated.
Indicates whether some other object is "equal to" this object except for signature.
valueEquals(Object) - Method in class com.scalar.dl.ledger.proof.AssetProof
Indicates whether some other object is "equal to" this object except for signature.
valueOf(String) - Static method in enum com.scalar.dl.ledger.asset.AssetProof.Range.Order
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.scalar.dl.ledger.config.AuthenticationMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.scalar.dl.ledger.database.TransactionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.scalar.dl.ledger.proof.AssetProof.Range.Order
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.scalar.dl.ledger.service.StatusCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.scalar.dl.ledger.asset.AssetProof.Range.Order
Deprecated.
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.config.AuthenticationMethod
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.TransactionState
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.proof.AssetProof.Range.Order
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.service.StatusCode
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I J K L M N O P R S T U V 
Skip navigation links