public class SignRequestEx extends Object
Constructor and Description |
---|
SignRequestEx() |
Modifier and Type | Method and Description |
---|---|
SignRequestEx |
data(byte[] data) |
boolean |
equals(Object o) |
byte[] |
getData()
Data to be signed.
|
byte[] |
getHash()
Hash (not supported in FIPS mode) of the data to be signed.
|
DigestAlgorithm |
getHashAlg()
Get hashAlg
|
SobjectDescriptor |
getKey()
Get key
|
SignatureMode |
getMode()
Get mode
|
SignRequestEx |
hash(byte[] hash) |
SignRequestEx |
hashAlg(DigestAlgorithm hashAlg) |
int |
hashCode() |
SignRequestEx |
key(SobjectDescriptor key) |
SignRequestEx |
mode(SignatureMode mode) |
void |
setData(byte[] data) |
void |
setHash(byte[] hash) |
void |
setHashAlg(DigestAlgorithm hashAlg) |
void |
setKey(SobjectDescriptor key) |
void |
setMode(SignatureMode mode) |
String |
toString() |
public SignRequestEx key(SobjectDescriptor key)
public SobjectDescriptor getKey()
public void setKey(SobjectDescriptor key)
public SignRequestEx hashAlg(DigestAlgorithm hashAlg)
public DigestAlgorithm getHashAlg()
public void setHashAlg(DigestAlgorithm hashAlg)
public SignRequestEx hash(byte[] hash)
public byte[] getHash()
public void setHash(byte[] hash)
public SignRequestEx data(byte[] data)
public byte[] getData()
public void setData(byte[] data)
public SignRequestEx mode(SignatureMode mode)
public SignatureMode getMode()
public void setMode(SignatureMode mode)
Copyright © 2017-2023 Fortanix Inc. All Rights Reserved