class YkneoBitcoinSoft implements YkneoBitcoin {

    @Override
    public byte[] exportExtendedPublicKey() throws PinModeLockedException, IOException, OperationNotPermittedException, NoKeyLoadedException {
        ensurePin(PinMode.ADMIN);
        ensureKey();
        if(!allowExport) {
            throw new OperationNotPermittedException();
        }
        return master.getRootKey().serializePublic();
    }

    public  YkneoBitcoinSoft();

}