Interface MessagePolicy.ProtectionPolicy
- Enclosing class:
MessagePolicy
public static interface MessagePolicy.ProtectionPolicy
Defines the level of protection to be applied to a message.
A protection policy specifies whether the sender, content,
or recipient of a message must be authenticated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifier for a policy that requires authentication of the message content.static final StringIdentifier for a policy that requires authentication of the recipient.static final StringIdentifier for a policy that requires authentication of the sender. -
Method Summary
-
Field Details
-
AUTHENTICATE_SENDER
Identifier for a policy that requires authentication of the sender.- See Also:
-
AUTHENTICATE_CONTENT
Identifier for a policy that requires authentication of the message content.- See Also:
-
AUTHENTICATE_RECIPIENT
Identifier for a policy that requires authentication of the recipient.- See Also:
-
-
Method Details
-
getID
String getID()Returns the unique identifier for this protection policy.- Returns:
- the string identifier for this policy
-