SecurityProxy.getValidUses()
Method
Declaration
intgetValidUses
()
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 |
See Also
SecurityProxy.setCertificateUses()
For the corresponding browser pages, see Certificate Uses in