|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MutableAgent
Defines an interface for modifying agent properties. Care should be taken when implementing this interface to ensure thread safe operation of agent modification.
| Method Summary | |
|---|---|
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. |
CertificateResolver |
getPrivateCertResolver()
Gets the certificate store used to decrypt and sign messages. |
Collection<CertificateResolver> |
getPublicCertResolvers()
Gets the certificate stores used to encrypt messages and validate signatures. |
TrustAnchorResolver |
getTrustAnchors()
Gets the certificate store that contains the certificate anchors that validate if certificates are trusted. |
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 |
setPrivateCertResolver(CertificateResolver resolver)
Sets the certificate store used to decrypt and sign messages. |
void |
setPublicCertResolvers(Collection<CertificateResolver> resolvers)
Sets the certificate stores used to encrypt messages and validate signatures. |
void |
setTrustAnchorResolver(TrustAnchorResolver resolver)
Sets the certificate store that contains the certificate anchors that validate if certificates are trusted. |
void |
setWrappingEnabled(boolean wrappingEnabled)
Sets the auto message wrapping feature of the agent. |
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||