public interface MutableAgent
| Modifier and Type | Method and Description |
|---|---|
Cryptographer |
getCryptographer()
Gets the Cryptographer used by the agent to perform cryptography operations.
|
Collection<String> |
getDomains()
Gets the list of domains that the agent is serving.
|
NHINDAgentEventListener |
getEventListener()
Sets the event listener that will receive notifications at different stages of message processing.
|
org.nhindirect.policy.PolicyFilter |
getPolicyFilter()
Gets the policy filter engine for the agent.
|
CertificateResolver |
getPrivateCertResolver()
Gets the certificate store used to decrypt and sign messages.
|
PolicyResolver |
getPrivatePolicyResolver()
Gets the policy resolvers for privately discovered certificates
|
Collection<CertificateResolver> |
getPublicCertResolvers()
Gets the certificate stores used to encrypt messages and validate signatures.
|
PolicyResolver |
getPublicPolicyResolver()
Gets the policy resolver for publicly discovered certificates
|
TrustAnchorResolver |
getTrustAnchors()
Gets the certificate store that contains the certificate anchors that validate if certificates are trusted.
|
TrustModel |
getTrustModel()
Gets the trust model for enforcing message trust
|
boolean |
isWrappingEnabled()
Indicates if the agent automatically wraps messages into RFC822 envelopes for hiding headers.
|
void |
setCryptographer(Cryptographer cryptographer)
Sets the Cryptographer used by the agent to perform cryptography operations.
|
void |
setDomains(Collection<String> domains)
Sets the list of domain that the agent is serving.
|
void |
setEventListener(NHINDAgentEventListener listener)
Sets the event listener that will receive notifications at different stages of message processing.
|
void |
setPolicyFilter(org.nhindirect.policy.PolicyFilter filter)
Sets the policy filter engine for the agent.
|
void |
setPrivateCertResolver(CertificateResolver resolver)
Sets the certificate store used to decrypt and sign messages.
|
void |
setPrivatePolicyResolver(PolicyResolver privatePolicyResolver)
Sets the policy resolvers for privately discovered certificates
|
void |
setPublicCertResolvers(Collection<CertificateResolver> resolvers)
Sets the certificate stores used to encrypt messages and validate signatures.
|
void |
setPublicPolicyResolver(PolicyResolver publicPolicyResolver)
Sets the policy resolver for publicly discovered certificates
|
void |
setTrustAnchorResolver(TrustAnchorResolver resolver)
Sets the certificate store that contains the certificate anchors that validate if certificates are trusted.
|
void |
setTrustModel(TrustModel trustModel)
Sets the trust model for enforcing message trust
|
void |
setWrappingEnabled(boolean wrappingEnabled)
Sets the auto message wrapping feature of the agent.
|
Collection<String> getDomains()
void setDomains(Collection<String> domains)
domains - The list of domain that the agent is serving.Cryptographer getCryptographer()
void setCryptographer(Cryptographer cryptographer)
cryptographer - The Cryptographer used by the agent to perform cryptography operations.Collection<CertificateResolver> getPublicCertResolvers()
void setPublicCertResolvers(Collection<CertificateResolver> resolvers)
resolvers - The certificate stores used to encrypt messages and validate signatures.CertificateResolver getPrivateCertResolver()
void setPrivateCertResolver(CertificateResolver resolver)
resolver - The certificate store used to decrypt and sign messages.TrustAnchorResolver getTrustAnchors()
void setTrustAnchorResolver(TrustAnchorResolver resolver)
resolver - The certificate store that contains the certificate anchors that validate if certificates are trusted.void setEventListener(NHINDAgentEventListener listener)
listener - A concrete implementation of an NHINDAgentEventListener.NHINDAgentEventListener getEventListener()
void setWrappingEnabled(boolean wrappingEnabled)
wrappingEnabled - True if the agent automatically wraps messages. False otherwise.boolean isWrappingEnabled()
void setPublicPolicyResolver(PolicyResolver publicPolicyResolver)
publicPolicyResolver - The policy resolver for publicly discovered certificatesPolicyResolver getPublicPolicyResolver()
void setPrivatePolicyResolver(PolicyResolver privatePolicyResolver)
privatePolicyResolver - The policy resolvers for privately discovered certificatesPolicyResolver getPrivatePolicyResolver()
void setPolicyFilter(org.nhindirect.policy.PolicyFilter filter)
filter - The policy filter engine for the agent.org.nhindirect.policy.PolicyFilter getPolicyFilter()
void setTrustModel(TrustModel trustModel)
trustModel - The trust model for enforcing message trustTrustModel getTrustModel()
Copyright © 2010-2016 NHIN Direct. All Rights Reserved.