AS2ValidationSettings Class
- java.
lang. Object - com.
azure. resourcemanager. logic. models. AS2ValidationSettings
- com.
Implements
public final class AS2ValidationSettings
implements JsonSerializable<AS2ValidationSettings>
The AS2 agreement validation settings.
Constructor Summary
Constructor | Description |
---|---|
AS2ValidationSettings() |
Creates an instance of AS2Validation |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
checkCertificateRevocationListOnReceive()
Get the check |
boolean |
checkCertificateRevocationListOnSend()
Get the check |
boolean |
checkDuplicateMessage()
Get the check |
boolean |
compressMessage()
Get the compress |
boolean |
encryptMessage()
Get the encrypt |
Encryption |
encryptionAlgorithm()
Get the encryption |
static
AS2Validation |
fromJson(JsonReader jsonReader)
Reads an instance of AS2Validation |
int |
interchangeDuplicatesValidityDays()
Get the interchange |
boolean |
overrideMessageProperties()
Get the override |
boolean |
signMessage()
Get the sign |
Signing |
signingAlgorithm()
Get the signing |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
AS2Validation |
withCheckCertificateRevocationListOnReceive(boolean checkCertificateRevocationListOnReceive)
Set the check |
AS2Validation |
withCheckCertificateRevocationListOnSend(boolean checkCertificateRevocationListOnSend)
Set the check |
AS2Validation |
withCheckDuplicateMessage(boolean checkDuplicateMessage)
Set the check |
AS2Validation |
withCompressMessage(boolean compressMessage)
Set the compress |
AS2Validation |
withEncryptMessage(boolean encryptMessage)
Set the encrypt |
AS2Validation |
withEncryptionAlgorithm(EncryptionAlgorithm encryptionAlgorithm)
Set the encryption |
AS2Validation |
withInterchangeDuplicatesValidityDays(int interchangeDuplicatesValidityDays)
Set the interchange |
AS2Validation |
withOverrideMessageProperties(boolean overrideMessageProperties)
Set the override |
AS2Validation |
withSignMessage(boolean signMessage)
Set the sign |
AS2Validation |
withSigningAlgorithm(SigningAlgorithm signingAlgorithm)
Set the signing |
Methods inherited from java.lang.Object
Constructor Details
AS2ValidationSettings
public AS2ValidationSettings()
Creates an instance of AS2ValidationSettings class.
Method Details
checkCertificateRevocationListOnReceive
public boolean checkCertificateRevocationListOnReceive()
Get the checkCertificateRevocationListOnReceive property: The value indicating whether to check for certificate revocation list on receive.
Returns:
checkCertificateRevocationListOnSend
public boolean checkCertificateRevocationListOnSend()
Get the checkCertificateRevocationListOnSend property: The value indicating whether to check for certificate revocation list on send.
Returns:
checkDuplicateMessage
public boolean checkDuplicateMessage()
Get the checkDuplicateMessage property: The value indicating whether to check for duplicate message.
Returns:
compressMessage
public boolean compressMessage()
Get the compressMessage property: The value indicating whether the message has to be compressed.
Returns:
encryptMessage
public boolean encryptMessage()
Get the encryptMessage property: The value indicating whether the message has to be encrypted.
Returns:
encryptionAlgorithm
public EncryptionAlgorithm encryptionAlgorithm()
Get the encryptionAlgorithm property: The encryption algorithm.
Returns:
fromJson
public static AS2ValidationSettings fromJson(JsonReader jsonReader)
Reads an instance of AS2ValidationSettings from the JsonReader.
Parameters:
Returns:
Throws:
interchangeDuplicatesValidityDays
public int interchangeDuplicatesValidityDays()
Get the interchangeDuplicatesValidityDays property: The number of days to look back for duplicate interchange.
Returns:
overrideMessageProperties
public boolean overrideMessageProperties()
Get the overrideMessageProperties property: The value indicating whether to override incoming message properties with those in agreement.
Returns:
signMessage
public boolean signMessage()
Get the signMessage property: The value indicating whether the message has to be signed.
Returns:
signingAlgorithm
public SigningAlgorithm signingAlgorithm()
Get the signingAlgorithm property: The signing algorithm.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCheckCertificateRevocationListOnReceive
public AS2ValidationSettings withCheckCertificateRevocationListOnReceive(boolean checkCertificateRevocationListOnReceive)
Set the checkCertificateRevocationListOnReceive property: The value indicating whether to check for certificate revocation list on receive.
Parameters:
Returns:
withCheckCertificateRevocationListOnSend
public AS2ValidationSettings withCheckCertificateRevocationListOnSend(boolean checkCertificateRevocationListOnSend)
Set the checkCertificateRevocationListOnSend property: The value indicating whether to check for certificate revocation list on send.
Parameters:
Returns:
withCheckDuplicateMessage
public AS2ValidationSettings withCheckDuplicateMessage(boolean checkDuplicateMessage)
Set the checkDuplicateMessage property: The value indicating whether to check for duplicate message.
Parameters:
Returns:
withCompressMessage
public AS2ValidationSettings withCompressMessage(boolean compressMessage)
Set the compressMessage property: The value indicating whether the message has to be compressed.
Parameters:
Returns:
withEncryptMessage
public AS2ValidationSettings withEncryptMessage(boolean encryptMessage)
Set the encryptMessage property: The value indicating whether the message has to be encrypted.
Parameters:
Returns:
withEncryptionAlgorithm
public AS2ValidationSettings withEncryptionAlgorithm(EncryptionAlgorithm encryptionAlgorithm)
Set the encryptionAlgorithm property: The encryption algorithm.
Parameters:
Returns:
withInterchangeDuplicatesValidityDays
public AS2ValidationSettings withInterchangeDuplicatesValidityDays(int interchangeDuplicatesValidityDays)
Set the interchangeDuplicatesValidityDays property: The number of days to look back for duplicate interchange.
Parameters:
Returns:
withOverrideMessageProperties
public AS2ValidationSettings withOverrideMessageProperties(boolean overrideMessageProperties)
Set the overrideMessageProperties property: The value indicating whether to override incoming message properties with those in agreement.
Parameters:
Returns:
withSignMessage
public AS2ValidationSettings withSignMessage(boolean signMessage)
Set the signMessage property: The value indicating whether the message has to be signed.
Parameters:
Returns:
withSigningAlgorithm
public AS2ValidationSettings withSigningAlgorithm(SigningAlgorithm signingAlgorithm)
Set the signingAlgorithm property: The signing algorithm.
Parameters:
Returns:
Applies to
Azure SDK for Java