A hardware wallet stores the private key and never releases it. How signing, the PIN, the secure element and the 24 words ...