public class AllParametersShaComposer extends Object implements ShaComposer
| Constructor and Description |
|---|
AllParametersShaComposer() |
AllParametersShaComposer(Passphrase passphrase) |
AllParametersShaComposer(Passphrase passphrase,
HashAlgorithm hashAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameterFilter(ParameterFilter parameterFilter) |
String |
compose(Map<String,Object> parameters)
Requirements for SHASIGN:sup
All parameter names should be in UPPERCASE (to avoid any case confusion)
All parameters have to be arranged alphabetically
Parameters that do not have a value should NOT be included in the string to hash
A string hashed with the SHA-1 algorithm will always be 40 characters long
|
public AllParametersShaComposer()
public AllParametersShaComposer(Passphrase passphrase)
public AllParametersShaComposer(Passphrase passphrase, HashAlgorithm hashAlgorithm)
public String compose(Map<String,Object> parameters) throws ShaComposerException
compose in interface ShaComposerShaComposerExceptionpublic void addParameterFilter(ParameterFilter parameterFilter)
Copyright © 2016. All rights reserved.