- 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
-
- 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
-
- 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
-
- getProofs() - Method in class com.scalar.dl.ledger.model.ContractExecutionResult
-
- 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
-
- 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
-
- 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.