消息加密

通过使用消息加密,消息发送方可确保消息在到达接收方之前消息内容未被修改。

当应用程序在队列上放置消息时, Advanced Message Security 会检查目标队列是否具有用于签名或加密的 Advanced Message Security 策略。 如果需要加密,那么 Advanced Message Security 会对数据进行签名和加密。

除签名过程外, Advanced Message Security 还使用与目标队列关联的 Advanced Message Security 策略中指定的加密算法,使用对称密钥对消息数据进行加密。 然后,使用用户的公用密钥,将消息传送到在该策略中指定的每个可能的接收方。

当应用程序从队列中检索消息时, Advanced Message Security 将验证签名并使用接收方用户的专用密钥对消息数据进行解密。