Returns true for the capability query Const.CAPABILITY_X509_AUTHENTICATION.
Syntax
boolean
hasCapability
(
Map< String, Object >
context
,
String
capability
) throws SecException
Parameters
-
context –
the context map
-
capability –
the capability to check
Returns
true for the capability query Const.CAPABILITY_X509_AUTHENTICATION; false for other capability queries
Exceptions
-
SecException class –
if some sort of error occurs that should abort the entire capability query.
Usage
true for the capability query Const.CAPABILITY_X509_AUTHENTICATION; false for other capability queries