public class Pkcs7MessageSigner extends MessageSigner
DEFAULT_PKCS1_ALGORITHM
Constructor and Description |
---|
Pkcs7MessageSigner() |
Modifier and Type | Method and Description |
---|---|
boolean |
isIncludeCertificate()
Whether or not include the certificate to the message signature.
|
void |
setIncludeCertificate(boolean includeCertificate)
Whether or not include the certificate to the message signature.
|
protected byte[] |
sign(byte[] message)
Signature function to generate valid PKCS#7, a cryptographic message syntax.
|
protected void |
validateKeyProvider(SignatureKeyProvider signatureKeyProvider) |
getSignatureKeyProvider, isUseTimestamp, setSignatureKeyProvider, setUseTimestamp, signQuery
protected void validateKeyProvider(SignatureKeyProvider signatureKeyProvider) throws InvalidKeyStoreException
InvalidKeyStoreException
protected byte[] sign(@Nonnull byte[] message) throws SignatureException
message
- Message to sign, as byte array.SignatureException
public boolean isIncludeCertificate()
public void setIncludeCertificate(boolean includeCertificate)
Copyright © 2018 SAP SE. All rights reserved.