Class PKCS11KeyManager

    • Constructor Detail

      • PKCS11KeyManager

        public PKCS11KeyManager​(char[] keyStorePIN,
                                java.lang.String certificateAlias)
                         throws java.security.KeyStoreException
        Creates a new instance of this PKCS11 key manager that provides the ability to retrieve certificates from a PKCS#11 token.
        Parameters:
        keyStorePIN - The PIN to use to access the contents of the PKCS#11 token. It may be null if no PIN is required.
        certificateAlias - The nickname of the certificate that should be selected. It may be null if any acceptable certificate found may be used.
        Throws:
        java.security.KeyStoreException - If a problem occurs while initializing this key manager.