TibrvSdContext

Class

Declaration

final class com.tibco.tibrv.TibrvSdContext
static final String TIBRV_SECURE_DAEMON_ANY_NAME  = null;
static final String TIBRV_SECURE_DAEMON_ANY_CERT  = null;

Purpose

This class defines static methods for interacting with secure Rendezvous daemons.

Remarks

Programs do not create instances of TibrvSdContext. Instead, programs use its static methods to configure usernames, passwords and certificates, and to register trust in daemon certificates.

To use the methods of this class, Java programs must satisfy these two criteria:

Programs must compile and run with the archive file tibrvjsd.jar (which defines this class); see Archive Files.
Programs must open the Rendezvous environment using the native implementation; see Tibrv.open()—in particular, the constant Tibrv.IMPL_NATIVE, which specifies the Rendezvous JNI library implementation.

Method

Description

TibrvSdContext.setDaemonCert()

Register trust in a secure daemon.

TibrvSdContext.setUserCertWithKey()

Register a (PEM) certificate with private key for identification to secure daemons.

TibrvSdContext.setUserCertWithKeyBin()

Register a (PKCS #12) certificate with private key for identification to secure daemons.

TibrvSdContext.setUserNameWithPassword()

Register a username with password for identification to secure daemons.