Open topic with navigation

TIBCO Rendezvous® 8.7.0

# SecurityProxy.getValidUses()

Method

## Declaration

    int getValidUses()
      throws ConfigurationException

## Purpose

Get the valid uses of certificates for this daemon.

## Remarks

Each daemon component that supports the SecurityProxy interface uses certificates in up to three ways. This method returns a bit vector that describes the legitimate uses of certificates for the actual component.

The three constants defined for SecurityProxy correspond to positions in the bit vector. To determine whether a specific use applies to the component, probe the corresponding bit with Java’s bitwise AND (`&`) operator; for example:

    if ( (SecurityProxy) myDmnProxy.getValidUses() & SecurityProxy.HTTPS
         != 0 {
               // My daemon supports certificates for HTTPS.
               ... }

## See Also

SecurityProxy

SecurityProxy.setCertificateUses()

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

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.