SecurityProxy.setCertificateUses()

Method

Declaration

SecurityProxy setCertificateUses(
    int  httpsCertificateIndex,
    int  routersToRoutersCertificateIndex,
    int  daemonToClientsCertificateIndex)
  throws ConfigurationException

Purpose

Assign certificates to each valid use for this daemon.

Remarks

Each daemon component that supports the SecurityProxy interface uses certificates in up to three ways. This method assigns one of the component’s four possible certificates to each use that the component supports.

Supply a certificate index in each parameter position. This method ignores parameters that correspond to invalid uses for the daemon.

Component daemons can store up to four certificates. In Java, indexing is zero-based; in Rendezvous browser administration interfaces, certificate indexing is one-based. So to specify certificate #1, supply zero; to specify certificate #4, supply 3.

This method returns the SecurityProxy object, so programs can conveniently chain additional method calls to the return value.

Parameter

Description

httpsCertificateIndex

Supply the index of the certificate to use for HTTPS communication (for example, with browsers or with Java configuration programs).

routersToRoutersCertificateIndex

Supply the index of the certificate to use for TLS communication with other routing daemons.

daemonToClientsCertificateIndex

Supply the index of the certificate to use for TLS communications with client transports.

See Also

SecurityProxy

SecurityProxy.getValidUses()

For the corresponding browser pages, see Certificate Uses in TIBCO Rendezvous Administration