forCurrentPlatform
Creates a key store isolated by serviceName and accountName using default KeychainOptions. See the three-argument overload for details.
Throws
if serviceName or accountName is blank or contains NUL, CR, or LF.
Creates a key store isolated by both serviceName and accountName. Unlike the other stores, Android needs no Context: keys live only in Android Keystore. Desktop JVM returns a store whose operations throw KeychainUnavailableException with reason Unsupported.
Parameters
identifies the calling application or integration; must be nonblank and free of NUL/CR/LF.
identifies the key owner. Same validity rules as serviceName.
platform-specific behavior; KeychainOptions.appleAccessibility controls when Apple keys can sign.
Throws
if serviceName or accountName is blank or contains NUL, CR, or LF.