public abstract class MessageSigner extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PKCS1_ALGORITHM |
Constructor and Description |
---|
MessageSigner() |
Modifier and Type | Method and Description |
---|---|
protected SignatureKeyProvider |
getSignatureKeyProvider() |
boolean |
isUseTimestamp() |
void |
setSignatureKeyProvider(SignatureKeyProvider signatureKeyProvider) |
void |
setUseTimestamp(boolean useTimestamp) |
SignedErpQuery |
signQuery(String query)
Signs a query message and returns a new SignedErpQuery object.
|
public static final String DEFAULT_PKCS1_ALGORITHM
@Nonnull public SignedErpQuery signQuery(@Nonnull String query) throws SignatureException
query
- Query message payload.SignatureException
public void setSignatureKeyProvider(SignatureKeyProvider signatureKeyProvider)
protected SignatureKeyProvider getSignatureKeyProvider()
public boolean isUseTimestamp()
public void setUseTimestamp(boolean useTimestamp)
Copyright © 2019 SAP SE. All rights reserved.