public final class AS2ValidationSettings extends Object
Constructor and Description |
---|
AS2ValidationSettings() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkCertificateRevocationListOnReceive()
Get the checkCertificateRevocationListOnReceive property: The value indicating whether to check for certificate
revocation list on receive.
|
boolean |
checkCertificateRevocationListOnSend()
Get the checkCertificateRevocationListOnSend property: The value indicating whether to check for certificate
revocation list on send.
|
boolean |
checkDuplicateMessage()
Get the checkDuplicateMessage property: The value indicating whether to check for duplicate message.
|
boolean |
compressMessage()
Get the compressMessage property: The value indicating whether the message has to be compressed.
|
EncryptionAlgorithm |
encryptionAlgorithm()
Get the encryptionAlgorithm property: The encryption algorithm.
|
boolean |
encryptMessage()
Get the encryptMessage property: The value indicating whether the message has to be encrypted.
|
int |
interchangeDuplicatesValidityDays()
Get the interchangeDuplicatesValidityDays property: The number of days to look back for duplicate interchange.
|
boolean |
overrideMessageProperties()
Get the overrideMessageProperties property: The value indicating whether to override incoming message properties
with those in agreement.
|
SigningAlgorithm |
signingAlgorithm()
Get the signingAlgorithm property: The signing algorithm.
|
boolean |
signMessage()
Get the signMessage property: The value indicating whether the message has to be signed.
|
void |
validate()
Validates the instance.
|
AS2ValidationSettings |
withCheckCertificateRevocationListOnReceive(boolean checkCertificateRevocationListOnReceive)
Set the checkCertificateRevocationListOnReceive property: The value indicating whether to check for certificate
revocation list on receive.
|
AS2ValidationSettings |
withCheckCertificateRevocationListOnSend(boolean checkCertificateRevocationListOnSend)
Set the checkCertificateRevocationListOnSend property: The value indicating whether to check for certificate
revocation list on send.
|
AS2ValidationSettings |
withCheckDuplicateMessage(boolean checkDuplicateMessage)
Set the checkDuplicateMessage property: The value indicating whether to check for duplicate message.
|
AS2ValidationSettings |
withCompressMessage(boolean compressMessage)
Set the compressMessage property: The value indicating whether the message has to be compressed.
|
AS2ValidationSettings |
withEncryptionAlgorithm(EncryptionAlgorithm encryptionAlgorithm)
Set the encryptionAlgorithm property: The encryption algorithm.
|
AS2ValidationSettings |
withEncryptMessage(boolean encryptMessage)
Set the encryptMessage property: The value indicating whether the message has to be encrypted.
|
AS2ValidationSettings |
withInterchangeDuplicatesValidityDays(int interchangeDuplicatesValidityDays)
Set the interchangeDuplicatesValidityDays property: The number of days to look back for duplicate interchange.
|
AS2ValidationSettings |
withOverrideMessageProperties(boolean overrideMessageProperties)
Set the overrideMessageProperties property: The value indicating whether to override incoming message properties
with those in agreement.
|
AS2ValidationSettings |
withSigningAlgorithm(SigningAlgorithm signingAlgorithm)
Set the signingAlgorithm property: The signing algorithm.
|
AS2ValidationSettings |
withSignMessage(boolean signMessage)
Set the signMessage property: The value indicating whether the message has to be signed.
|
public boolean overrideMessageProperties()
public AS2ValidationSettings withOverrideMessageProperties(boolean overrideMessageProperties)
overrideMessageProperties
- the overrideMessageProperties value to set.public boolean encryptMessage()
public AS2ValidationSettings withEncryptMessage(boolean encryptMessage)
encryptMessage
- the encryptMessage value to set.public boolean signMessage()
public AS2ValidationSettings withSignMessage(boolean signMessage)
signMessage
- the signMessage value to set.public boolean compressMessage()
public AS2ValidationSettings withCompressMessage(boolean compressMessage)
compressMessage
- the compressMessage value to set.public boolean checkDuplicateMessage()
public AS2ValidationSettings withCheckDuplicateMessage(boolean checkDuplicateMessage)
checkDuplicateMessage
- the checkDuplicateMessage value to set.public int interchangeDuplicatesValidityDays()
public AS2ValidationSettings withInterchangeDuplicatesValidityDays(int interchangeDuplicatesValidityDays)
interchangeDuplicatesValidityDays
- the interchangeDuplicatesValidityDays value to set.public boolean checkCertificateRevocationListOnSend()
public AS2ValidationSettings withCheckCertificateRevocationListOnSend(boolean checkCertificateRevocationListOnSend)
checkCertificateRevocationListOnSend
- the checkCertificateRevocationListOnSend value to set.public boolean checkCertificateRevocationListOnReceive()
public AS2ValidationSettings withCheckCertificateRevocationListOnReceive(boolean checkCertificateRevocationListOnReceive)
checkCertificateRevocationListOnReceive
- the checkCertificateRevocationListOnReceive value to set.public EncryptionAlgorithm encryptionAlgorithm()
public AS2ValidationSettings withEncryptionAlgorithm(EncryptionAlgorithm encryptionAlgorithm)
encryptionAlgorithm
- the encryptionAlgorithm value to set.public SigningAlgorithm signingAlgorithm()
public AS2ValidationSettings withSigningAlgorithm(SigningAlgorithm signingAlgorithm)
signingAlgorithm
- the signingAlgorithm value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.