Interface KeyGenerationCardServiceWithSpec

    • Method Detail

      • generateKeyPair

        byte[] generateKeyPair​(byte newKeyId,
                               SmartCardHSMPrivateKeySpec spec)
                        throws OpenCardException
        Initiate the generation of a fresh key pair for the selected key object. Generating a new key pair requires a successful verification of the User PIN.
        Parameters:
        newKeyId - the ID for the key to be generated
        spec - the KeySpec containing the domain parameter
        Throws:
        OpenCardException