- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Key,Key.Builder
@Generated
public interface KeyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* A smart contract instance that is authorized implicitly.* A smart contract that, if the recipient of the active message frame, SHALL be imputed authorization.<br/> Setting this key type is a more permissive version of setting a contractID key.com.google.protobuf.ByteStringDeprecated.proto.Key.ECDSA_384 is deprecated.com.google.protobuf.ByteString* A set of compressed ECDSA(secp256k1) public key bytes.<br/> This is an EVM compatibility format.com.google.protobuf.ByteString* An array of Ed25519 public key bytes.* A list of keys.com.google.protobuf.ByteStringDeprecated.proto.Key.RSA_3072 is deprecated.* A threshold, M, combined with a list of N keys, any M of which are sufficient to form a valid signature.boolean* A smart contract instance that is authorized implicitly.boolean* A smart contract that, if the recipient of the active message frame, SHALL be imputed authorization.<br/> Setting this key type is a more permissive version of setting a contractID key.booleanDeprecated.proto.Key.ECDSA_384 is deprecated.boolean* A set of compressed ECDSA(secp256k1) public key bytes.<br/> This is an EVM compatibility format.boolean* An array of Ed25519 public key bytes.boolean* A list of keys.booleanDeprecated.proto.Key.RSA_3072 is deprecated.boolean* A threshold, M, combined with a list of N keys, any M of which are sufficient to form a valid signature.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasContractID
boolean hasContractID()* A smart contract instance that is authorized implicitly. <p> This key type SHALL require that the code in the active message frame belong to the contract with the given id.
.proto.ContractID contractID = 1;- Returns:
- Whether the contractID field is set.
-
getContractID
ContractID getContractID()* A smart contract instance that is authorized implicitly. <p> This key type SHALL require that the code in the active message frame belong to the contract with the given id.
.proto.ContractID contractID = 1;- Returns:
- The contractID.
-
hasEd25519
boolean hasEd25519()* An array of Ed25519 public key bytes.
bytes ed25519 = 2;- Returns:
- Whether the ed25519 field is set.
-
getEd25519
com.google.protobuf.ByteString getEd25519()* An array of Ed25519 public key bytes.
bytes ed25519 = 2;- Returns:
- The ed25519.
-
hasRSA3072
Deprecated.proto.Key.RSA_3072 is deprecated. See basic_types.proto;l=1068* This option is not currently supported.<br/> An array of RSA-3072 public key bytes.
bytes RSA_3072 = 3 [deprecated = true];- Returns:
- Whether the rSA3072 field is set.
-
getRSA3072
Deprecated.proto.Key.RSA_3072 is deprecated. See basic_types.proto;l=1068* This option is not currently supported.<br/> An array of RSA-3072 public key bytes.
bytes RSA_3072 = 3 [deprecated = true];- Returns:
- The rSA3072.
-
hasECDSA384
Deprecated.proto.Key.ECDSA_384 is deprecated. See basic_types.proto;l=1074* This option is not currently supported.<br/> An array of ECDSA, using the p-384 curve, public key bytes.
bytes ECDSA_384 = 4 [deprecated = true];- Returns:
- Whether the eCDSA384 field is set.
-
getECDSA384
Deprecated.proto.Key.ECDSA_384 is deprecated. See basic_types.proto;l=1074* This option is not currently supported.<br/> An array of ECDSA, using the p-384 curve, public key bytes.
bytes ECDSA_384 = 4 [deprecated = true];- Returns:
- The eCDSA384.
-
hasThresholdKey
boolean hasThresholdKey()* A threshold, M, combined with a list of N keys, any M of which are sufficient to form a valid signature.
.proto.ThresholdKey thresholdKey = 5;- Returns:
- Whether the thresholdKey field is set.
-
getThresholdKey
ThresholdKey getThresholdKey()* A threshold, M, combined with a list of N keys, any M of which are sufficient to form a valid signature.
.proto.ThresholdKey thresholdKey = 5;- Returns:
- The thresholdKey.
-
hasKeyList
boolean hasKeyList()* A list of keys. This may be treated like a "N-of-N" threshold key, as a component of another key, or in some other manner as documented.
.proto.KeyList keyList = 6;- Returns:
- Whether the keyList field is set.
-
getKeyList
KeyList getKeyList()* A list of keys. This may be treated like a "N-of-N" threshold key, as a component of another key, or in some other manner as documented.
.proto.KeyList keyList = 6;- Returns:
- The keyList.
-
hasECDSASecp256K1
boolean hasECDSASecp256K1()* A set of compressed ECDSA(secp256k1) public key bytes.<br/> This is an EVM compatibility format.
bytes ECDSA_secp256k1 = 7;- Returns:
- Whether the eCDSASecp256k1 field is set.
-
getECDSASecp256K1
com.google.protobuf.ByteString getECDSASecp256K1()* A set of compressed ECDSA(secp256k1) public key bytes.<br/> This is an EVM compatibility format.
bytes ECDSA_secp256k1 = 7;- Returns:
- The eCDSASecp256k1.
-
hasDelegatableContractId
boolean hasDelegatableContractId()* A smart contract that, if the recipient of the active message frame, SHALL be imputed authorization.<br/> Setting this key type is a more permissive version of setting a contractID key. <p> This key form SHALL NOT strictly require that the code being executed in the frame belong to the given contract. The code in frame MAY be running another contract via a `delegatecall`.
.proto.ContractID delegatable_contract_id = 8;- Returns:
- Whether the delegatableContractId field is set.
-
getDelegatableContractId
ContractID getDelegatableContractId()* A smart contract that, if the recipient of the active message frame, SHALL be imputed authorization.<br/> Setting this key type is a more permissive version of setting a contractID key. <p> This key form SHALL NOT strictly require that the code being executed in the frame belong to the given contract. The code in frame MAY be running another contract via a `delegatecall`.
.proto.ContractID delegatable_contract_id = 8;- Returns:
- The delegatableContractId.
-
getKeyCase
Key.KeyCase getKeyCase()
-