Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CallbackHandlerProtection (0.18 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        Security.addProvider(pkcs11)
    
        val callbackHandler = ConsoleCallbackHandler
    
        val builderList: List<KeyStore.Builder> =
          listOf(
            KeyStore.Builder.newInstance("PKCS11", null, KeyStore.CallbackHandlerProtection(callbackHandler)),
            // Example if you want to combine multiple keystore types
            // KeyStore.Builder.newInstance("PKCS12", null, File("keystore.p12"), PasswordProtection("rosebud".toCharArray()))
          )
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top