Private key storage method