GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OpenXPKI::Server::API2::Plugin::Token::is_token_usable(3) User Contributed Perl Documentation OpenXPKI::Server::API2::Plugin::Token::is_token_usable(3)

OpenXPKI::Server::API2::Plugin::Token::is_token_usable

Returns true (1) if the token with the given alias is usable. Returns false (0) if the token setup is ok but the key can not be used, e.g. a missing secret. Returns undef in case construction of the token fails which usually means the configuration is broken or artefacts are not found or not readable (keyfile / datapool items).

Parameters

  • "alias" Str - Token alias. Required.
  • "operation" Str - type of operation to use for the key check, optional - default depends on token type.
sign
Do a pkcs7 sign and verify cycle. This is the default.
encrypt
Do a pkcs7 encrypt / decrypt cycle. Default if the token is of type datasafe.
engine
Use the crypto engine's "key_usable" method to test the token.
"engine" Bool - Default: 0

Same as operation=<engine, deprecated, provided for backward compatibility.

2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.