| 限定符和类型 | 方法和说明 |
|---|---|
HashTypeEnum |
DigestOption.getDefaultDigestType() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DigestOption.setDefaultDigestType(HashTypeEnum defaultDigestType) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BaseService.signRequest(List<SignerBase> signers,
AbstractTransactionRequest request,
HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
LogFilter.setHashTypeEnum(HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Identity |
Utils.getIdentityByName(String identityName,
HashTypeEnum hashTypeEnum) |
static byte[] |
ConfidentialUtil.keyGenerate(String userKey,
byte[] txHash,
HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
CryptoUtils.getPubkeyFp(byte[] pubkey,
HashTypeEnum hashTypeEnum)
Compute public key fingerprint
|
HashSet<Integer> |
MyCrypto.multiVerify(List<byte[]> pubkeyList,
List<byte[]> signatureList,
byte[] msg,
HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
EccK1EnvelopeV1.setHashTypeEnum(HashTypeEnum hashTypeEnum) |
void |
RSAEnvelopeV1.setHashTypeEnum(HashTypeEnum hashTypeEnum) |
void |
EccK1EnvelopeSGX.setHashTypeEnum(HashTypeEnum hashTypeEnum) |
void |
EccR1EnvelopeV1.setHashTypeEnum(HashTypeEnum hashTypeEnum) |
| 构造器和说明 |
|---|
SM2EnvelopeV1(HashTypeEnum hashTypeEnum) |
SM2EnvelopSGX(HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
HashTypeEnum |
Keccak256.getHashType() |
HashTypeEnum |
SHA256Hash.getHashType() |
HashTypeEnum |
SM3Hash.getHashType() |
HashTypeEnum |
IHash.getHashType()
get hash type
|
static HashTypeEnum |
HashFactory.getHashTypeEnum() |
static HashTypeEnum |
HashTypeEnum.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static HashTypeEnum[] |
HashTypeEnum.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static IHash |
HashFactory.getHash(HashTypeEnum hashTypeEnum) |
static void |
HashFactory.setHashTypeEnum(HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
EccR1PkeyCipherV1.setHashTypeEnum(HashTypeEnum hashTypeEnum) |
| 构造器和说明 |
|---|
EccK1KDFV1(Keypair keypair,
HashTypeEnum hashTypeEnum) |
RSAPkeyCipherV1(Keypair keypair,
HashTypeEnum hashTypeEnum) |
SM2PkeyCipherV1(Keypair keypair,
HashTypeEnum hashTypeEnum) |
| 构造器和说明 |
|---|
EccR1SignerV1(Keypair keypair,
HashTypeEnum hashTypeEnum) |
Ed25519SignerV1(Keypair keypair,
HashTypeEnum hashTypeEnum) |
RsaSignerV1(Keypair keypair,
HashTypeEnum hashTypeEnum) |
SM2SignerV1(Keypair keypair,
HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected HashTypeEnum |
Account.hashTypeEnum |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Account.setHashTypeEnum(HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
BlockHeader.calcHash(BlockHeader header,
HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Hash |
Consensus.calcPKsMerkleRootHash(Set<PublicKey> publicKeys,
HashTypeEnum hashTypeEnum) |
static Hash |
Consensus.calcProofHash(Hash parentHash,
Hash txRoot,
Hash pksHash,
int nodeSize,
long timestamp,
HashTypeEnum hashTypeEnum) |
static boolean |
Consensus.verifyConsensusProof(List<byte[]> signatures,
byte[] digest,
Set<PublicKey> publicKeys,
HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
HoneyBadger.verifyHBConsensusProof(Set<PublicKey> publicKeys,
HBConsensusProofInfo proof,
HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
Pbft.verifyPbftConsensusProof(Set<PublicKey> publicKeys,
PbftConsensusProofInfo proof,
HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Transaction |
Transaction.builder(TransactionType txType,
byte[] data,
List<byte[]> signatureList,
Hash hash,
Identity from,
Identity to,
long timestamp,
long period,
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger nonce,
BigInteger gas,
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger value,
List<Extension> extensions,
BaseFixedSizeByteArray.Fixed20ByteArray groupId,
HashTypeEnum hashTypeEnum)
Builder transaction do.
|
void |
Transaction.setHashTypeEnum(HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected HashTypeEnum |
Request.hashTypeEnum
The digest method
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Request.setHashTypeEnum(HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
HashTypeEnum |
AbstractTransactionRequest.getHashTypeEnum() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AbstractTransactionRequest.setHashTypeEnum(HashTypeEnum hashTypeEnum) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Hash |
MerkleTree.root(Vector<Hash> hashes,
HashTypeEnum hashTypeEnum)
Root identity.
|
static boolean |
MerkleTree.verify(int index,
Hash txHash,
Hash receiptRootHash,
List<Hash> branches,
int size,
HashTypeEnum hashTypeEnum)
Verify boolean.
|
Copyright © 2022. All rights reserved.