org.nhindirect.stagent.policy
Interface PolicyResolver


public interface PolicyResolver

Resolver for certificate policies. Policies are grouped by incoming and outgoing message direction and the message sender for outgoing messages and message recipient for incoming messages.
Policies returned by the resolver are pre-parsed and ready to be fed into a PolicyFilter for compliance checking.

Since:
2.0
Author:
Greg Meyer

Method Summary
 Collection<org.nhindirect.policy.PolicyExpression> getIncomingPolicy(javax.mail.internet.InternetAddress address)
          Gets the certificate policy for incoming messages.
 Collection<org.nhindirect.policy.PolicyExpression> getOutgoingPolicy(javax.mail.internet.InternetAddress address)
          Gets the certificate policy for outgoing messages.
 

Method Detail

getOutgoingPolicy

Collection<org.nhindirect.policy.PolicyExpression> getOutgoingPolicy(javax.mail.internet.InternetAddress address)
Gets the certificate policy for outgoing messages.

Parameters:
address - The sender email address used to fine the policy.
Returns:
Collection of policies for outgoing messages.

getIncomingPolicy

Collection<org.nhindirect.policy.PolicyExpression> getIncomingPolicy(javax.mail.internet.InternetAddress address)
Gets the certificate policy for incoming messages.

Parameters:
address - The recipient email address used to fine the policy.
Returns:
Collection of policies for incoming messages.


Copyright © 2010-2013 NHIN Direct. All Rights Reserved.